<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>Homework Hub: packages/jQuery.UI.Combined.1.8.20.1/Content/Scripts/jquery-ui-1.8.20.min.js Quellcode</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Homework Hub
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Erzeugt von Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Suchen');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Hauptseite</span></a></li>
      <li><a href="namespaces.html"><span>Pakete</span></a></li>
      <li><a href="annotated.html"><span>Klassen</span></a></li>
      <li class="current"><a href="files.html"><span>Dateien</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Suchen" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Auflistung&#160;der&#160;Dateien</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Alle</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Klassen</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namensbereiche</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funktionen</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Propertys</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_93501a11e921083efbd154e0cdff5f10.html">packages</a></li><li class="navelem"><a class="el" href="dir_025d94c06889cfa8d09f79d900511bbb.html">jQuery.UI.Combined.1.8.20.1</a></li><li class="navelem"><a class="el" href="dir_a5b06276520dbfc6284deee4102bb984.html">Content</a></li><li class="navelem"><a class="el" href="dir_60761202cd6baeaa9e703637e697051d.html">Scripts</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">jquery-ui-1.8.20.min.js</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;(<span class="keyword">function</span>(a,b){<span class="keyword">function</span> c(b,c){var e=b.nodeName.toLowerCase();<span class="keywordflow">if</span>(<span class="stringliteral">&quot;area&quot;</span>===e){var f=b.parentNode,g=f.name,h;<span class="keywordflow">return</span>!b.href||!g||f.nodeName.toLowerCase()!==<span class="stringliteral">&quot;map&quot;</span>?!1:(h=a(<span class="stringliteral">&quot;img[usemap=#&quot;</span>+g+<span class="stringliteral">&quot;]&quot;</span>)[0],!!h&amp;&amp;d(h))}<span class="keywordflow">return</span>(/input|select|textarea|button|<span class="keywordtype">object</span>/.test(e)?!b.disabled:<span class="stringliteral">&quot;a&quot;</span>==e?b.href||c:c)&amp;&amp;d(b)}<span class="keyword">function</span> d(b){<span class="keywordflow">return</span>!a(b).parents().andSelf().filter(<span class="keyword">function</span>(){<span class="keywordflow">return</span> a.curCSS(<span class="keyword">this</span>,<span class="stringliteral">&quot;visibility&quot;</span>)===<span class="stringliteral">&quot;hidden&quot;</span>||a.expr.filters.hidden(<span class="keyword">this</span>)}).length}a.ui=a.ui||{};<span class="keywordflow">if</span>(a.ui.version)<span class="keywordflow">return</span>;a.extend(a.ui,{version:<span class="stringliteral">&quot;1.8.20&quot;</span>,keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:<span class="keyword">function</span>(b,c){<span class="keywordflow">return</span> typeof b==<span class="stringliteral">&quot;number&quot;</span>?<span class="keyword">this</span>.each(<span class="keyword">function</span>(){var d=<span class="keyword">this</span>;setTimeout(<span class="keyword">function</span>(){a(d).focus(),c&amp;&amp;c.call(d)},b)}):this._focus.apply(<span class="keyword">this</span>,arguments)},scrollParent:<span class="keyword">function</span>(){var b;<span class="keywordflow">return</span> a.browser.msie&amp;&amp;/(<span class="keyword">static</span>|relative)/.test(this.css(<span class="stringliteral">&quot;position&quot;</span>))||/absolute/.test(this.css(<span class="stringliteral">&quot;position&quot;</span>))?b=this.parents().filter(<span class="keyword">function</span>(){<span class="keywordflow">return</span>/(relative|absolute|fixed)/.test(a.curCSS(<span class="keyword">this</span>,<span class="stringliteral">&quot;position&quot;</span>,1))&amp;&amp;/(<span class="keyword">auto</span>|scroll)/.test(a.curCSS(<span class="keyword">this</span>,<span class="stringliteral">&quot;overflow&quot;</span>,1)+a.curCSS(<span class="keyword">this</span>,<span class="stringliteral">&quot;overflow-y&quot;</span>,1)+a.curCSS(<span class="keyword">this</span>,<span class="stringliteral">&quot;overflow-x&quot;</span>,1))}).eq(0):b=this.parents().filter(<span class="keyword">function</span>(){<span class="keywordflow">return</span>/(<span class="keyword">auto</span>|scroll)/.test(a.curCSS(<span class="keyword">this</span>,<span class="stringliteral">&quot;overflow&quot;</span>,1)+a.curCSS(<span class="keyword">this</span>,<span class="stringliteral">&quot;overflow-y&quot;</span>,1)+a.curCSS(<span class="keyword">this</span>,<span class="stringliteral">&quot;overflow-x&quot;</span>,1))}).eq(0),/fixed/.test(this.css(<span class="stringliteral">&quot;position&quot;</span>))||!b.length?a(document):b},zIndex:function(c){<span class="keywordflow">if</span>(c!==b)<span class="keywordflow">return</span> this.css(<span class="stringliteral">&quot;zIndex&quot;</span>,c);<span class="keywordflow">if</span>(this.length){var d=a(<span class="keyword">this</span>[0]),e,f;<span class="keywordflow">while</span>(d.length&amp;&amp;d[0]!==document){e=d.css(<span class="stringliteral">&quot;position&quot;</span>);<span class="keywordflow">if</span>(e===<span class="stringliteral">&quot;absolute&quot;</span>||e===<span class="stringliteral">&quot;relative&quot;</span>||e===<span class="stringliteral">&quot;fixed&quot;</span>){f=parseInt(d.css(<span class="stringliteral">&quot;zIndex&quot;</span>),10);<span class="keywordflow">if</span>(!isNaN(f)&amp;&amp;f!==0)<span class="keywordflow">return</span> f}d=d.parent()}}<span class="keywordflow">return</span> 0},disableSelection:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.bind((a.support.selectstart?<span class="stringliteral">&quot;selectstart&quot;</span>:<span class="stringliteral">&quot;mousedown&quot;</span>)+<span class="stringliteral">&quot;.ui-disableSelection&quot;</span>,<span class="keyword">function</span>(a){a.preventDefault()})},enableSelection:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.unbind(<span class="stringliteral">&quot;.ui-disableSelection&quot;</span>)}}),a.each([<span class="stringliteral">&quot;Width&quot;</span>,<span class="stringliteral">&quot;Height&quot;</span>],<span class="keyword">function</span>(c,d){<span class="keyword">function</span> h(b,c,d,f){<span class="keywordflow">return</span> a.each(e,<span class="keyword">function</span>(){c-=parseFloat(a.curCSS(b,<span class="stringliteral">&quot;padding&quot;</span>+<span class="keyword">this</span>,!0))||0,d&amp;&amp;(c-=parseFloat(a.curCSS(b,<span class="stringliteral">&quot;border&quot;</span>+<span class="keyword">this</span>+<span class="stringliteral">&quot;Width&quot;</span>,!0))||0),f&amp;&amp;(c-=parseFloat(a.curCSS(b,<span class="stringliteral">&quot;margin&quot;</span>+<span class="keyword">this</span>,!0))||0)}),c}var e=d===<span class="stringliteral">&quot;Width&quot;</span>?[<span class="stringliteral">&quot;Left&quot;</span>,<span class="stringliteral">&quot;Right&quot;</span>]:[<span class="stringliteral">&quot;Top&quot;</span>,<span class="stringliteral">&quot;Bottom&quot;</span>],f=d.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn[<span class="stringliteral">&quot;inner&quot;</span>+d]=<span class="keyword">function</span>(c){<span class="keywordflow">return</span> c===b?g[<span class="stringliteral">&quot;inner&quot;</span>+d].call(<span class="keyword">this</span>):this.each(<span class="keyword">function</span>(){a(<span class="keyword">this</span>).css(f,h(<span class="keyword">this</span>,c)+<span class="stringliteral">&quot;px&quot;</span>)})},a.fn[<span class="stringliteral">&quot;outer&quot;</span>+d]=<span class="keyword">function</span>(b,c){<span class="keywordflow">return</span> typeof b!=<span class="stringliteral">&quot;number&quot;</span>?g[<span class="stringliteral">&quot;outer&quot;</span>+d].call(<span class="keyword">this</span>,b):this.each(<span class="keyword">function</span>(){a(<span class="keyword">this</span>).css(f,h(<span class="keyword">this</span>,b,!0,c)+<span class="stringliteral">&quot;px&quot;</span>)})}}),a.extend(a.expr[<span class="stringliteral">&quot;:&quot;</span>],{data:<span class="keyword">function</span>(b,c,d){<span class="keywordflow">return</span>!!a.data(b,d[3])},focusable:<span class="keyword">function</span>(b){<span class="keywordflow">return</span> c(b,!isNaN(a.attr(b,<span class="stringliteral">&quot;tabindex&quot;</span>)))},tabbable:<span class="keyword">function</span>(b){var d=a.attr(b,<span class="stringliteral">&quot;tabindex&quot;</span>),e=isNaN(d);<span class="keywordflow">return</span>(e||d&gt;=0)&amp;&amp;c(b,!e)}}),a(<span class="keyword">function</span>(){var b=document.body,c=b.appendChild(c=document.createElement(<span class="stringliteral">&quot;div&quot;</span>));c.offsetHeight,a.extend(c.style,{minHeight:<span class="stringliteral">&quot;100px&quot;</span>,height:<span class="stringliteral">&quot;auto&quot;</span>,padding:0,borderWidth:0}),a.support.minHeight=c.offsetHeight===100,a.support.selectstart=<span class="stringliteral">&quot;onselectstart&quot;</span>in c,b.removeChild(c).style.display=<span class="stringliteral">&quot;none&quot;</span>}),a.extend(a.ui,{plugin:{add:<span class="keyword">function</span>(b,c,d){var e=a.ui[b].prototype;<span class="keywordflow">for</span>(var f in d)e.plugins[f]=e.plugins[f]||[],e.plugins[f].push([c,d[f]])},call:<span class="keyword">function</span>(a,b,c){var d=a.plugins[b];<span class="keywordflow">if</span>(!d||!a.element[0].parentNode)<span class="keywordflow">return</span>;<span class="keywordflow">for</span>(var e=0;e&lt;d.length;e++)a.options[d[e][0]]&amp;&amp;d[e][1].apply(a.element,c)}},contains:<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span> document.compareDocumentPosition?a.compareDocumentPosition(b)&amp;16:a!==b&amp;&amp;a.contains(b)},hasScroll:<span class="keyword">function</span>(b,c){<span class="keywordflow">if</span>(a(b).css(<span class="stringliteral">&quot;overflow&quot;</span>)===<span class="stringliteral">&quot;hidden&quot;</span>)<span class="keywordflow">return</span>!1;var d=c&amp;&amp;c===<span class="stringliteral">&quot;left&quot;</span>?<span class="stringliteral">&quot;scrollLeft&quot;</span>:<span class="stringliteral">&quot;scrollTop&quot;</span>,e=!1;<span class="keywordflow">return</span> b[d]&gt;0?!0:(b[d]=1,e=b[d]&gt;0,b[d]=0,e)},isOverAxis:<span class="keyword">function</span>(a,b,c){<span class="keywordflow">return</span> a&gt;b&amp;&amp;a&lt;b+c},isOver:<span class="keyword">function</span>(b,c,d,e,f,g){<span class="keywordflow">return</span> a.ui.isOverAxis(b,d,f)&amp;&amp;a.ui.isOverAxis(c,e,g)}})})(jQuery),<span class="keyword">function</span>(a,b){<span class="keywordflow">if</span>(a.cleanData){var c=a.cleanData;a.cleanData=<span class="keyword">function</span>(b){<span class="keywordflow">for</span>(var d=0,e;(e=b[d])!=null;d++)<span class="keywordflow">try</span>{a(e).triggerHandler(<span class="stringliteral">&quot;remove&quot;</span>)}<span class="keywordflow">catch</span>(f){}c(b)}}<span class="keywordflow">else</span>{var d=a.fn.remove;a.fn.remove=<span class="keyword">function</span>(b,c){<span class="keywordflow">return</span> this.each(<span class="keyword">function</span>(){<span class="keywordflow">return</span> c||(!b||a.filter(b,[<span class="keyword">this</span>]).length)&amp;&amp;a(<span class="stringliteral">&quot;*&quot;</span>,<span class="keyword">this</span>).add([<span class="keyword">this</span>]).each(<span class="keyword">function</span>(){<span class="keywordflow">try</span>{a(<span class="keyword">this</span>).triggerHandler(<span class="stringliteral">&quot;remove&quot;</span>)}<span class="keywordflow">catch</span>(b){}}),d.call(a(<span class="keyword">this</span>),b,c)})}}a.widget=<span class="keyword">function</span>(b,c,d){var e=b.split(<span class="stringliteral">&quot;.&quot;</span>)[0],f;b=b.split(<span class="stringliteral">&quot;.&quot;</span>)[1],f=e+<span class="stringliteral">&quot;-&quot;</span>+b,d||(d=c,c=a.Widget),a.expr[<span class="stringliteral">&quot;:&quot;</span>][f]=<span class="keyword">function</span>(c){<span class="keywordflow">return</span>!!a.data(c,b)},a[e]=a[e]||{},a[e][b]=<span class="keyword">function</span>(a,b){arguments.length&amp;&amp;this._createWidget(a,b)};var g=<span class="keyword">new</span> c;g.options=a.extend(!0,{},g.options),a[e][b].prototype=a.extend(!0,g,{<span class="keyword">namespace</span>:e,widgetName:b,widgetEventPrefix:a[e][b].prototype.widgetEventPrefix||b,widgetBaseClass:f},d),a.widget.bridge(b,a[e][b])},a.widget.bridge=<span class="keyword">function</span>(c,d){a.fn[c]=<span class="keyword">function</span>(e){var f=typeof e==<span class="stringliteral">&quot;string&quot;</span>,g=Array.prototype.slice.call(arguments,1),h=<span class="keyword">this</span>;<span class="keywordflow">return</span> e=!f&amp;&amp;g.length?a.extend.apply(null,[!0,e].concat(g)):e,f&amp;&amp;e.charAt(0)===<span class="stringliteral">&quot;_&quot;</span>?h:(f?this.each(<span class="keyword">function</span>(){var d=a.data(<span class="keyword">this</span>,c),f=d&amp;&amp;a.isFunction(d[e])?d[e].apply(d,g):d;<span class="keywordflow">if</span>(f!==d&amp;&amp;f!==b)<span class="keywordflow">return</span> h=f,!1}):this.each(<span class="keyword">function</span>(){var b=a.data(<span class="keyword">this</span>,c);b?b.option(e||{})._init():a.data(<span class="keyword">this</span>,c,<span class="keyword">new</span> d(e,<span class="keyword">this</span>))}),h)}},a.Widget=<span class="keyword">function</span>(a,b){arguments.length&amp;&amp;this._createWidget(a,b)},a.Widget.prototype={widgetName:<span class="stringliteral">&quot;widget&quot;</span>,widgetEventPrefix:<span class="stringliteral">&quot;&quot;</span>,options:{disabled:!1},_createWidget:<span class="keyword">function</span>(b,c){a.data(c,this.widgetName,<span class="keyword">this</span>),this.element=a(c),this.options=a.extend(!0,{},this.options,this._getCreateOptions(),b);var d=<span class="keyword">this</span>;this.element.bind(<span class="stringliteral">&quot;remove.&quot;</span>+this.widgetName,<span class="keyword">function</span>(){d.destroy()}),this._create(),this._trigger(<span class="stringliteral">&quot;create&quot;</span>),this._init()},_getCreateOptions:<span class="keyword">function</span>(){<span class="keywordflow">return</span> a.metadata&amp;&amp;a.metadata.get(this.element[0])[this.widgetName]},_create:<span class="keyword">function</span>(){},_init:<span class="keyword">function</span>(){},destroy:<span class="keyword">function</span>(){this.element.unbind(<span class="stringliteral">&quot;.&quot;</span>+this.widgetName).removeData(this.widgetName),this.widget().unbind(<span class="stringliteral">&quot;.&quot;</span>+this.widgetName).removeAttr(<span class="stringliteral">&quot;aria-disabled&quot;</span>).removeClass(this.widgetBaseClass+<span class="stringliteral">&quot;-disabled &quot;</span>+<span class="stringliteral">&quot;ui-state-disabled&quot;</span>)},widget:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.element},option:<span class="keyword">function</span>(c,d){var e=c;<span class="keywordflow">if</span>(arguments.length===0)<span class="keywordflow">return</span> a.extend({},this.options);<span class="keywordflow">if</span>(typeof c==<span class="stringliteral">&quot;string&quot;</span>){<span class="keywordflow">if</span>(d===b)<span class="keywordflow">return</span> this.options[c];e={},e[c]=d}<span class="keywordflow">return</span> this._setOptions(e),<span class="keyword">this</span>},_setOptions:<span class="keyword">function</span>(b){var c=<span class="keyword">this</span>;<span class="keywordflow">return</span> a.each(b,<span class="keyword">function</span>(a,b){c._setOption(a,b)}),<span class="keyword">this</span>},_setOption:<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span> this.options[a]=b,a===<span class="stringliteral">&quot;disabled&quot;</span>&amp;&amp;this.widget()[b?<span class="stringliteral">&quot;addClass&quot;</span>:<span class="stringliteral">&quot;removeClass&quot;</span>](this.widgetBaseClass+<span class="stringliteral">&quot;-disabled&quot;</span>+<span class="stringliteral">&quot; &quot;</span>+<span class="stringliteral">&quot;ui-state-disabled&quot;</span>).attr(<span class="stringliteral">&quot;aria-disabled&quot;</span>,b),<span class="keyword">this</span>},enable:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this._setOption(<span class="stringliteral">&quot;disabled&quot;</span>,!1)},disable:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this._setOption(<span class="stringliteral">&quot;disabled&quot;</span>,!0)},_trigger:<span class="keyword">function</span>(b,c,d){var e,f,g=this.options[b];d=d||{},c=a.Event(c),c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase(),c.target=this.element[0],f=c.originalEvent;<span class="keywordflow">if</span>(f)<span class="keywordflow">for</span>(e in f)e in c||(c[e]=f[e]);<span class="keywordflow">return</span> this.element.trigger(c,d),!(a.isFunction(g)&amp;&amp;g.call(this.element[0],c,d)===!1||c.isDefaultPrevented())}}}(jQuery),<span class="keyword">function</span>(a,b){var c=!1;a(document).mouseup(<span class="keyword">function</span>(a){c=!1}),a.widget(<span class="stringliteral">&quot;ui.mouse&quot;</span>,{options:{cancel:<span class="stringliteral">&quot;:input,option&quot;</span>,distance:1,delay:0},_mouseInit:<span class="keyword">function</span>(){var b=<span class="keyword">this</span>;this.element.bind(<span class="stringliteral">&quot;mousedown.&quot;</span>+this.widgetName,<span class="keyword">function</span>(a){<span class="keywordflow">return</span> b._mouseDown(a)}).bind(<span class="stringliteral">&quot;click.&quot;</span>+this.widgetName,<span class="keyword">function</span>(c){<span class="keywordflow">if</span>(!0===a.data(c.target,b.widgetName+<span class="stringliteral">&quot;.preventClickEvent&quot;</span>))<span class="keywordflow">return</span> a.removeData(c.target,b.widgetName+<span class="stringliteral">&quot;.preventClickEvent&quot;</span>),c.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:<span class="keyword">function</span>(){this.element.unbind(<span class="stringliteral">&quot;.&quot;</span>+this.widgetName),a(document).unbind(<span class="stringliteral">&quot;mousemove.&quot;</span>+this.widgetName,this._mouseMoveDelegate).unbind(<span class="stringliteral">&quot;mouseup.&quot;</span>+this.widgetName,this._mouseUpDelegate)},_mouseDown:<span class="keyword">function</span>(b){<span class="keywordflow">if</span>(c)<span class="keywordflow">return</span>;this._mouseStarted&amp;&amp;this._mouseUp(b),this._mouseDownEvent=b;var d=<span class="keyword">this</span>,e=b.which==1,f=typeof this.options.cancel==<span class="stringliteral">&quot;string&quot;</span>&amp;&amp;b.target.nodeName?a(b.target).closest(this.options.cancel).length:!1;<span class="keywordflow">if</span>(!e||f||!this._mouseCapture(b))<span class="keywordflow">return</span>!0;this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(<span class="keyword">function</span>(){d.mouseDelayMet=!0},this.options.delay));<span class="keywordflow">if</span>(this._mouseDistanceMet(b)&amp;&amp;this._mouseDelayMet(b)){this._mouseStarted=this._mouseStart(b)!==!1;<span class="keywordflow">if</span>(!this._mouseStarted)<span class="keywordflow">return</span> b.preventDefault(),!0}<span class="keywordflow">return</span>!0===a.data(b.target,<span class="keyword">this</span>.widgetName+<span class="stringliteral">&quot;.preventClickEvent&quot;</span>)&amp;&amp;a.removeData(b.target,<span class="keyword">this</span>.widgetName+<span class="stringliteral">&quot;.preventClickEvent&quot;</span>),this._mouseMoveDelegate=<span class="keyword">function</span>(a){<span class="keywordflow">return</span> d._mouseMove(a)},this._mouseUpDelegate=<span class="keyword">function</span>(a){<span class="keywordflow">return</span> d._mouseUp(a)},a(document).bind(<span class="stringliteral">&quot;mousemove.&quot;</span>+this.widgetName,this._mouseMoveDelegate).bind(<span class="stringliteral">&quot;mouseup.&quot;</span>+this.widgetName,this._mouseUpDelegate),b.preventDefault(),c=!0,!0},_mouseMove:<span class="keyword">function</span>(b){<span class="keywordflow">return</span>!a.browser.msie||document.documentMode&gt;=9||!!b.button?this._mouseStarted?(this._mouseDrag(b),b.preventDefault()):(this._mouseDistanceMet(b)&amp;&amp;this._mouseDelayMet(b)&amp;&amp;(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==!1,this._mouseStarted?this._mouseDrag(b):this._mouseUp(b)),!this._mouseStarted):this._mouseUp(b)},_mouseUp:function(b){<span class="keywordflow">return</span> a(document).unbind(<span class="stringliteral">&quot;mousemove.&quot;</span>+this.widgetName,this._mouseMoveDelegate).unbind(<span class="stringliteral">&quot;mouseup.&quot;</span>+this.widgetName,this._mouseUpDelegate),this._mouseStarted&amp;&amp;(this._mouseStarted=!1,b.target==this._mouseDownEvent.target&amp;&amp;a.data(b.target,<span class="keyword">this</span>.widgetName+<span class="stringliteral">&quot;.preventClickEvent&quot;</span>,!0),this._mouseStop(b)),!1},_mouseDistanceMet:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> Math.max(Math.abs(<span class="keyword">this</span>._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))&gt;=this.options.distance},_mouseDelayMet:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> this.mouseDelayMet},_mouseStart:<span class="keyword">function</span>(a){},_mouseDrag:<span class="keyword">function</span>(a){},_mouseStop:<span class="keyword">function</span>(a){},_mouseCapture:<span class="keyword">function</span>(a){<span class="keywordflow">return</span>!0}})}(jQuery),<span class="keyword">function</span>(a,b){a.widget(<span class="stringliteral">&quot;ui.draggable&quot;</span>,a.ui.mouse,{widgetEventPrefix:<span class="stringliteral">&quot;drag&quot;</span>,options:{addClasses:!0,appendTo:<span class="stringliteral">&quot;parent&quot;</span>,axis:!1,connectToSortable:!1,containment:!1,cursor:<span class="stringliteral">&quot;auto&quot;</span>,cursorAt:!1,grid:!1,handle:!1,helper:<span class="stringliteral">&quot;original&quot;</span>,iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:<span class="stringliteral">&quot;default&quot;</span>,scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:<span class="stringliteral">&quot;both&quot;</span>,snapTolerance:20,stack:!1,zIndex:!1},_create:<span class="keyword">function</span>(){this.options.helper==<span class="stringliteral">&quot;original&quot;</span>&amp;&amp;!/^(?:r|a|f)/.test(this.element.css(<span class="stringliteral">&quot;position&quot;</span>))&amp;&amp;(this.element[0].style.position=<span class="stringliteral">&quot;relative&quot;</span>),this.options.addClasses&amp;&amp;this.element.addClass(<span class="stringliteral">&quot;ui-draggable&quot;</span>),this.options.disabled&amp;&amp;this.element.addClass(<span class="stringliteral">&quot;ui-draggable-disabled&quot;</span>),this._mouseInit()},destroy:<span class="keyword">function</span>(){<span class="keywordflow">if</span>(!this.element.data(<span class="stringliteral">&quot;draggable&quot;</span>))<span class="keywordflow">return</span>;<span class="keywordflow">return</span> this.element.removeData(<span class="stringliteral">&quot;draggable&quot;</span>).unbind(<span class="stringliteral">&quot;.draggable&quot;</span>).removeClass(<span class="stringliteral">&quot;ui-draggable ui-draggable-dragging ui-draggable-disabled&quot;</span>),this._mouseDestroy(),<span class="keyword">this</span>},_mouseCapture:<span class="keyword">function</span>(b){var c=this.options;<span class="keywordflow">return</span> this.helper||c.disabled||a(b.target).is(<span class="stringliteral">&quot;.ui-resizable-handle&quot;</span>)?!1:(this.handle=this._getHandle(b),this.handle?(c.iframeFix&amp;&amp;a(c.iframeFix===!0?<span class="stringliteral">&quot;iframe&quot;</span>:c.iframeFix).each(<span class="keyword">function</span>(){a(<span class="stringliteral">&#39;&lt;div class=&quot;ui-draggable-iframeFix&quot; style=&quot;background: #fff;&quot;&gt;&lt;/div&gt;&#39;</span>).css({width:this.offsetWidth+<span class="stringliteral">&quot;px&quot;</span>,height:this.offsetHeight+<span class="stringliteral">&quot;px&quot;</span>,position:<span class="stringliteral">&quot;absolute&quot;</span>,opacity:<span class="stringliteral">&quot;0.001&quot;</span>,zIndex:1e3}).css(a(<span class="keyword">this</span>).offset()).appendTo(<span class="stringliteral">&quot;body&quot;</span>)}),!0):!1)},_mouseStart:function(b){var c=this.options;<span class="keywordflow">return</span> this.helper=this._createHelper(b),this._cacheHelperProportions(),a.ui.ddmanager&amp;&amp;(a.ui.ddmanager.current=<span class="keyword">this</span>),this._cacheMargins(),this.cssPosition=this.helper.css(<span class="stringliteral">&quot;position&quot;</span>),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},a.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(b),this.originalPageX=b.pageX,this.originalPageY=b.pageY,c.cursorAt&amp;&amp;this._adjustOffsetFromHelper(c.cursorAt),c.containment&amp;&amp;this._setContainment(),this._trigger(<span class="stringliteral">&quot;start&quot;</span>,b)===!1?(this._clear(),!1):(this._cacheHelperProportions(),a.ui.ddmanager&amp;&amp;!c.dropBehaviour&amp;&amp;a.ui.ddmanager.prepareOffsets(<span class="keyword">this</span>,b),this.helper.addClass(<span class="stringliteral">&quot;ui-draggable-dragging&quot;</span>),this._mouseDrag(b,!0),a.ui.ddmanager&amp;&amp;a.ui.ddmanager.dragStart(<span class="keyword">this</span>,b),!0)},_mouseDrag:<span class="keyword">function</span>(b,c){this.position=this._generatePosition(b),this.positionAbs=this._convertPositionTo(<span class="stringliteral">&quot;absolute&quot;</span>);<span class="keywordflow">if</span>(!c){var d=this._uiHash();<span class="keywordflow">if</span>(this._trigger(<span class="stringliteral">&quot;drag&quot;</span>,b,d)===!1)<span class="keywordflow">return</span> this._mouseUp({}),!1;this.position=d.position}<span class="keywordflow">if</span>(!this.options.axis||<span class="keyword">this</span>.options.axis!=<span class="stringliteral">&quot;y&quot;</span>)this.helper[0].style.left=this.position.left+<span class="stringliteral">&quot;px&quot;</span>;<span class="keywordflow">if</span>(!this.options.axis||<span class="keyword">this</span>.options.axis!=<span class="stringliteral">&quot;x&quot;</span>)this.helper[0].style.top=this.position.top+<span class="stringliteral">&quot;px&quot;</span>;<span class="keywordflow">return</span> a.ui.ddmanager&amp;&amp;a.ui.ddmanager.drag(<span class="keyword">this</span>,b),!1},_mouseStop:<span class="keyword">function</span>(b){var c=!1;a.ui.ddmanager&amp;&amp;!this.options.dropBehaviour&amp;&amp;(c=a.ui.ddmanager.drop(<span class="keyword">this</span>,b)),this.dropped&amp;&amp;(c=this.dropped,this.dropped=!1);var d=this.element[0],e=!1;<span class="keywordflow">while</span>(d&amp;&amp;(d=d.parentNode))d==document&amp;&amp;(e=!0);<span class="keywordflow">if</span>(!e&amp;&amp;this.options.helper===<span class="stringliteral">&quot;original&quot;</span>)<span class="keywordflow">return</span>!1;<span class="keywordflow">if</span>(this.options.revert==<span class="stringliteral">&quot;invalid&quot;</span>&amp;&amp;!c||<span class="keyword">this</span>.options.revert==<span class="stringliteral">&quot;valid&quot;</span>&amp;&amp;c||<span class="keyword">this</span>.options.revert===!0||a.isFunction(<span class="keyword">this</span>.options.revert)&amp;&amp;this.options.revert.call(this.element,c)){var f=<span class="keyword">this</span>;a(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),<span class="keyword">function</span>(){f._trigger(<span class="stringliteral">&quot;stop&quot;</span>,b)!==!1&amp;&amp;f._clear()})}<span class="keywordflow">else</span> this._trigger(<span class="stringliteral">&quot;stop&quot;</span>,b)!==!1&amp;&amp;this._clear();<span class="keywordflow">return</span>!1},_mouseUp:<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.options.iframeFix===!0&amp;&amp;a(<span class="stringliteral">&quot;div.ui-draggable-iframeFix&quot;</span>).each(<span class="keyword">function</span>(){this.parentNode.removeChild(<span class="keyword">this</span>)}),a.ui.ddmanager&amp;&amp;a.ui.ddmanager.dragStop(<span class="keyword">this</span>,b),a.ui.mouse.prototype._mouseUp.call(<span class="keyword">this</span>,b)},cancel:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.helper.is(<span class="stringliteral">&quot;.ui-draggable-dragging&quot;</span>)?this._mouseUp({}):this._clear(),<span class="keyword">this</span>},_getHandle:<span class="keyword">function</span>(b){var c=!this.options.handle||!a(this.options.handle,<span class="keyword">this</span>.element).length?!0:!1;<span class="keywordflow">return</span> a(this.options.handle,<span class="keyword">this</span>.element).find(<span class="stringliteral">&quot;*&quot;</span>).andSelf().each(<span class="keyword">function</span>(){<span class="keyword">this</span>==b.target&amp;&amp;(c=!0)}),c},_createHelper:<span class="keyword">function</span>(b){var c=this.options,d=a.isFunction(c.helper)?a(c.helper.apply(<span class="keyword">this</span>.element[0],[b])):c.helper==<span class="stringliteral">&quot;clone&quot;</span>?<span class="keyword">this</span>.element.clone().removeAttr(<span class="stringliteral">&quot;id&quot;</span>):this.element;<span class="keywordflow">return</span> d.parents(<span class="stringliteral">&quot;body&quot;</span>).length||d.appendTo(c.appendTo==<span class="stringliteral">&quot;parent&quot;</span>?<span class="keyword">this</span>.element[0].parentNode:c.appendTo),d[0]!=this.element[0]&amp;&amp;!/(fixed|absolute)/.test(d.css(<span class="stringliteral">&quot;position&quot;</span>))&amp;&amp;d.css(<span class="stringliteral">&quot;position&quot;</span>,<span class="stringliteral">&quot;absolute&quot;</span>),d},_adjustOffsetFromHelper:<span class="keyword">function</span>(b){typeof b==<span class="stringliteral">&quot;string&quot;</span>&amp;&amp;(b=b.split(<span class="stringliteral">&quot; &quot;</span>)),a.isArray(b)&amp;&amp;(b={left:+b[0],top:+b[1]||0}),<span class="stringliteral">&quot;left&quot;</span>in b&amp;&amp;(this.offset.click.left=b.left+<span class="keyword">this</span>.margins.left),<span class="stringliteral">&quot;right&quot;</span>in b&amp;&amp;(this.offset.click.left=this.helperProportions.width-b.right+this.margins.left),<span class="stringliteral">&quot;top&quot;</span>in b&amp;&amp;(this.offset.click.top=b.top+<span class="keyword">this</span>.margins.top),<span class="stringliteral">&quot;bottom&quot;</span>in b&amp;&amp;(this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top)},_getParentOffset:<span class="keyword">function</span>(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();this.cssPosition==<span class="stringliteral">&quot;absolute&quot;</span>&amp;&amp;this.scrollParent[0]!=document&amp;&amp;a.ui.contains(this.scrollParent[0],this.offsetParent[0])&amp;&amp;(b.left+=this.scrollParent.scrollLeft(),b.top+=this.scrollParent.scrollTop());<span class="keywordflow">if</span>(this.offsetParent[0]==document.body||<span class="keyword">this</span>.offsetParent[0].tagName&amp;&amp;<span class="keyword">this</span>.offsetParent[0].tagName.toLowerCase()==<span class="stringliteral">&quot;html&quot;</span>&amp;&amp;a.browser.msie)b={top:0,left:0};<span class="keywordflow">return</span>{top:b.top+(parseInt(this.offsetParent.css(<span class="stringliteral">&quot;borderTopWidth&quot;</span>),10)||0),left:b.left+(parseInt(this.offsetParent.css(<span class="stringliteral">&quot;borderLeftWidth&quot;</span>),10)||0)}},_getRelativeOffset:<span class="keyword">function</span>(){<span class="keywordflow">if</span>(this.cssPosition==<span class="stringliteral">&quot;relative&quot;</span>){var a=this.element.position();<span class="keywordflow">return</span>{top:a.top-(parseInt(this.helper.css(<span class="stringliteral">&quot;top&quot;</span>),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css(<span class="stringliteral">&quot;left&quot;</span>),10)||0)+this.scrollParent.scrollLeft()}}<span class="keywordflow">return</span>{top:0,left:0}},_cacheMargins:<span class="keyword">function</span>(){this.margins={left:parseInt(this.element.css(<span class="stringliteral">&quot;marginLeft&quot;</span>),10)||0,top:parseInt(this.element.css(<span class="stringliteral">&quot;marginTop&quot;</span>),10)||0,right:parseInt(this.element.css(<span class="stringliteral">&quot;marginRight&quot;</span>),10)||0,bottom:parseInt(this.element.css(<span class="stringliteral">&quot;marginBottom&quot;</span>),10)||0}},_cacheHelperProportions:<span class="keyword">function</span>(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:<span class="keyword">function</span>(){var b=this.options;b.containment==<span class="stringliteral">&quot;parent&quot;</span>&amp;&amp;(b.containment=this.helper[0].parentNode);<span class="keywordflow">if</span>(b.containment==<span class="stringliteral">&quot;document&quot;</span>||b.containment==<span class="stringliteral">&quot;window&quot;</span>)this.containment=[b.containment==<span class="stringliteral">&quot;document&quot;</span>?0:a(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,b.containment==<span class="stringliteral">&quot;document&quot;</span>?0:a(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(b.containment==<span class="stringliteral">&quot;document&quot;</span>?0:a(window).scrollLeft())+a(b.containment==<span class="stringliteral">&quot;document&quot;</span>?document:window).width()-this.helperProportions.width-this.margins.left,(b.containment==<span class="stringliteral">&quot;document&quot;</span>?0:a(window).scrollTop())+(a(b.containment==<span class="stringliteral">&quot;document&quot;</span>?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-<span class="keyword">this</span>.margins.top];<span class="keywordflow">if</span>(!/^(document|window|parent)$/.test(b.containment)&amp;&amp;b.containment.constructor!=Array){var c=a(b.containment),d=c[0];<span class="keywordflow">if</span>(!d)<span class="keywordflow">return</span>;var e=c.offset(),f=a(d).css(<span class="stringliteral">&quot;overflow&quot;</span>)!=<span class="stringliteral">&quot;hidden&quot;</span>;this.containment=[(parseInt(a(d).css(<span class="stringliteral">&quot;borderLeftWidth&quot;</span>),10)||0)+(parseInt(a(d).css(<span class="stringliteral">&quot;paddingLeft&quot;</span>),10)||0),(parseInt(a(d).css(<span class="stringliteral">&quot;borderTopWidth&quot;</span>),10)||0)+(parseInt(a(d).css(<span class="stringliteral">&quot;paddingTop&quot;</span>),10)||0),(f?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(a(d).css(<span class="stringliteral">&quot;borderLeftWidth&quot;</span>),10)||0)-(parseInt(a(d).css(<span class="stringliteral">&quot;paddingRight&quot;</span>),10)||0)-this.helperProportions.width-<span class="keyword">this</span>.margins.left-<span class="keyword">this</span>.margins.right,(f?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(a(d).css(<span class="stringliteral">&quot;borderTopWidth&quot;</span>),10)||0)-(parseInt(a(d).css(<span class="stringliteral">&quot;paddingBottom&quot;</span>),10)||0)-this.helperProportions.height-<span class="keyword">this</span>.margins.top-<span class="keyword">this</span>.margins.bottom],<span class="keyword">this</span>.relative_container=c}<span class="keywordflow">else</span> b.containment.constructor==Array&amp;&amp;(this.containment=b.containment)},_convertPositionTo:<span class="keyword">function</span>(b,c){c||(c=this.position);var d=b==<span class="stringliteral">&quot;absolute&quot;</span>?1:-1,e=this.options,f=this.cssPosition==<span class="stringliteral">&quot;absolute&quot;</span>&amp;&amp;(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=/(html|body)/i.test(f[0].tagName);<span class="keywordflow">return</span>{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(a.browser.safari&amp;&amp;a.browser.version&lt;526&amp;&amp;this.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?0:(this.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?-this.scrollParent.scrollTop():g?0:f.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(a.browser.safari&amp;&amp;a.browser.version&lt;526&amp;&amp;this.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?0:(this.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?-this.scrollParent.scrollLeft():g?0:f.scrollLeft())*d)}},_generatePosition:<span class="keyword">function</span>(b){var c=this.options,d=this.cssPosition==<span class="stringliteral">&quot;absolute&quot;</span>&amp;&amp;(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(d[0].tagName),f=b.pageX,g=b.pageY;<span class="keywordflow">if</span>(this.originalPosition){var h;<span class="keywordflow">if</span>(this.containment){<span class="keywordflow">if</span>(this.relative_container){var i=this.relative_container.offset();h=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]}<span class="keywordflow">else</span> h=this.containment;b.pageX-this.offset.click.left&lt;h[0]&amp;&amp;(f=h[0]+this.offset.click.left),b.pageY-<span class="keyword">this</span>.offset.click.top&lt;h[1]&amp;&amp;(g=h[1]+<span class="keyword">this</span>.offset.click.top),b.pageX-this.offset.click.left&gt;h[2]&amp;&amp;(f=h[2]+this.offset.click.left),b.pageY-<span class="keyword">this</span>.offset.click.top&gt;h[3]&amp;&amp;(g=h[3]+<span class="keyword">this</span>.offset.click.top)}<span class="keywordflow">if</span>(c.grid){var j=c.grid[1]?this.originalPageY+Math.round((g-this.originalPageY)/c.grid[1])*c.grid[1]:this.originalPageY;g=h?j-this.offset.click.top&lt;h[1]||j-this.offset.click.top&gt;h[3]?j-this.offset.click.top&lt;h[1]?j+c.grid[1]:j-c.grid[1]:j:j;var k=c.grid[0]?this.originalPageX+Math.round((f-this.originalPageX)/c.grid[0])*c.grid[0]:this.originalPageX;f=h?k-this.offset.click.left&lt;h[0]||k-this.offset.click.left&gt;h[2]?k-this.offset.click.left&lt;h[0]?k+c.grid[0]:k-c.grid[0]:k:k}}<span class="keywordflow">return</span>{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&amp;&amp;a.browser.version&lt;526&amp;&amp;this.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?0:this.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?-this.scrollParent.scrollTop():e?0:d.scrollTop()),left:f-this.offset.click.left-<span class="keyword">this</span>.offset.relative.left-<span class="keyword">this</span>.offset.parent.left+(a.browser.safari&amp;&amp;a.browser.version&lt;526&amp;&amp;<span class="keyword">this</span>.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?0:<span class="keyword">this</span>.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?-<span class="keyword">this</span>.scrollParent.scrollLeft():e?0:d.scrollLeft())}},_clear:<span class="keyword">function</span>(){this.helper.removeClass(<span class="stringliteral">&quot;ui-draggable-dragging&quot;</span>),this.helper[0]!=this.element[0]&amp;&amp;!this.cancelHelperRemoval&amp;&amp;this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:<span class="keyword">function</span>(b,c,d){<span class="keywordflow">return</span> d=d||this._uiHash(),a.ui.plugin.call(<span class="keyword">this</span>,b,[c,d]),b==<span class="stringliteral">&quot;drag&quot;</span>&amp;&amp;(this.positionAbs=this._convertPositionTo(<span class="stringliteral">&quot;absolute&quot;</span>)),a.Widget.prototype._trigger.call(<span class="keyword">this</span>,b,c,d)},plugins:{},_uiHash:<span class="keyword">function</span>(a){<span class="keywordflow">return</span>{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),a.extend(a.ui.draggable,{version:<span class="stringliteral">&quot;1.8.20&quot;</span>}),a.ui.plugin.add(<span class="stringliteral">&quot;draggable&quot;</span>,<span class="stringliteral">&quot;connectToSortable&quot;</span>,{start:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>),e=d.options,f=a.extend({},c,{item:d.element});d.sortables=[],a(e.connectToSortable).each(<span class="keyword">function</span>(){var c=a.data(<span class="keyword">this</span>,<span class="stringliteral">&quot;sortable&quot;</span>);c&amp;&amp;!c.options.disabled&amp;&amp;(d.sortables.push({instance:c,shouldRevert:c.options.revert}),c.refreshPositions(),c._trigger(<span class="stringliteral">&quot;activate&quot;</span>,b,f))})},stop:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>),e=a.extend({},c,{item:d.element});a.each(d.sortables,<span class="keyword">function</span>(){<span class="keyword">this</span>.instance.isOver?(<span class="keyword">this</span>.instance.isOver=0,d.cancelHelperRemoval=!0,<span class="keyword">this</span>.instance.cancelHelperRemoval=!1,<span class="keyword">this</span>.shouldRevert&amp;&amp;(<span class="keyword">this</span>.instance.options.revert=!0),<span class="keyword">this</span>.instance._mouseStop(b),this.instance.options.helper=this.instance.options._helper,d.options.helper==<span class="stringliteral">&quot;original&quot;</span>&amp;&amp;this.instance.currentItem.css({top:<span class="stringliteral">&quot;auto&quot;</span>,left:<span class="stringliteral">&quot;auto&quot;</span>})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger(<span class="stringliteral">&quot;deactivate&quot;</span>,b,e))})},drag:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>),e=<span class="keyword">this</span>,f=<span class="keyword">function</span>(b){var c=this.offset.click.top,d=this.offset.click.left,e=this.positionAbs.top,f=this.positionAbs.left,g=b.height,h=b.width,i=b.top,j=b.left;<span class="keywordflow">return</span> a.ui.isOver(e+c,f+d,i,j,g,h)};a.each(d.sortables,<span class="keyword">function</span>(f){<span class="keyword">this</span>.instance.positionAbs=d.positionAbs,<span class="keyword">this</span>.instance.helperProportions=d.helperProportions,<span class="keyword">this</span>.instance.offset.click=d.offset.click,<span class="keyword">this</span>.instance._intersectsWith(<span class="keyword">this</span>.instance.containerCache)?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=a(e).clone().removeAttr(<span class="stringliteral">&quot;id&quot;</span>).appendTo(this.instance.element).data(<span class="stringliteral">&quot;sortable-item&quot;</span>,!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=<span class="keyword">function</span>(){<span class="keywordflow">return</span> c.helper[0]},b.target=this.instance.currentItem[0],this.instance._mouseCapture(b,!0),this.instance._mouseStart(b,!0,!0),this.instance.offset.click.top=d.offset.click.top,this.instance.offset.click.left=d.offset.click.left,this.instance.offset.parent.left-=d.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=d.offset.parent.top-this.instance.offset.parent.top,d._trigger(<span class="stringliteral">&quot;toSortable&quot;</span>,b),d.dropped=this.instance.element,d.currentItem=d.element,this.instance.fromOutside=d),this.instance.currentItem&amp;&amp;<span class="keyword">this</span>.instance._mouseDrag(b)):this.instance.isOver&amp;&amp;(<span class="keyword">this</span>.instance.isOver=0,<span class="keyword">this</span>.instance.cancelHelperRemoval=!0,<span class="keyword">this</span>.instance.options.revert=!1,<span class="keyword">this</span>.instance._trigger(<span class="stringliteral">&quot;out&quot;</span>,b,<span class="keyword">this</span>.instance._uiHash(<span class="keyword">this</span>.instance)),this.instance._mouseStop(b,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&amp;&amp;this.instance.placeholder.remove(),d._trigger(<span class="stringliteral">&quot;fromSortable&quot;</span>,b),d.dropped=!1)})}}),a.ui.plugin.add(<span class="stringliteral">&quot;draggable&quot;</span>,<span class="stringliteral">&quot;cursor&quot;</span>,{start:<span class="keyword">function</span>(b,c){var d=a(<span class="stringliteral">&quot;body&quot;</span>),e=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>).options;d.css(<span class="stringliteral">&quot;cursor&quot;</span>)&amp;&amp;(e._cursor=d.css(<span class="stringliteral">&quot;cursor&quot;</span>)),d.css(<span class="stringliteral">&quot;cursor&quot;</span>,e.cursor)},stop:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>).options;d._cursor&amp;&amp;a(<span class="stringliteral">&quot;body&quot;</span>).css(<span class="stringliteral">&quot;cursor&quot;</span>,d._cursor)}}),a.ui.plugin.add(<span class="stringliteral">&quot;draggable&quot;</span>,<span class="stringliteral">&quot;opacity&quot;</span>,{start:<span class="keyword">function</span>(b,c){var d=a(c.helper),e=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>).options;d.css(<span class="stringliteral">&quot;opacity&quot;</span>)&amp;&amp;(e._opacity=d.css(<span class="stringliteral">&quot;opacity&quot;</span>)),d.css(<span class="stringliteral">&quot;opacity&quot;</span>,e.opacity)},stop:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>).options;d._opacity&amp;&amp;a(c.helper).css(<span class="stringliteral">&quot;opacity&quot;</span>,d._opacity)}}),a.ui.plugin.add(<span class="stringliteral">&quot;draggable&quot;</span>,<span class="stringliteral">&quot;scroll&quot;</span>,{start:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>);d.scrollParent[0]!=document&amp;&amp;d.scrollParent[0].tagName!=<span class="stringliteral">&quot;HTML&quot;</span>&amp;&amp;(d.overflowOffset=d.scrollParent.offset())},drag:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>),e=d.options,f=!1;<span class="keywordflow">if</span>(d.scrollParent[0]!=document&amp;&amp;d.scrollParent[0].tagName!=<span class="stringliteral">&quot;HTML&quot;</span>){<span class="keywordflow">if</span>(!e.axis||e.axis!=<span class="stringliteral">&quot;x&quot;</span>)d.overflowOffset.top+d.scrollParent[0].offsetHeight-b.pageY&lt;e.scrollSensitivity?d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop+e.scrollSpeed:b.pageY-d.overflowOffset.top&lt;e.scrollSensitivity&amp;&amp;(d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop-e.scrollSpeed);<span class="keywordflow">if</span>(!e.axis||e.axis!=<span class="stringliteral">&quot;y&quot;</span>)d.overflowOffset.left+d.scrollParent[0].offsetWidth-b.pageX&lt;e.scrollSensitivity?d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft+e.scrollSpeed:b.pageX-d.overflowOffset.left&lt;e.scrollSensitivity&amp;&amp;(d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft-e.scrollSpeed)}<span class="keywordflow">else</span>{<span class="keywordflow">if</span>(!e.axis||e.axis!=<span class="stringliteral">&quot;x&quot;</span>)b.pageY-a(document).scrollTop()&lt;e.scrollSensitivity?f=a(document).scrollTop(a(document).scrollTop()-e.scrollSpeed):a(window).height()-(b.pageY-a(document).scrollTop())&lt;e.scrollSensitivity&amp;&amp;(f=a(document).scrollTop(a(document).scrollTop()+e.scrollSpeed));<span class="keywordflow">if</span>(!e.axis||e.axis!=<span class="stringliteral">&quot;y&quot;</span>)b.pageX-a(document).scrollLeft()&lt;e.scrollSensitivity?f=a(document).scrollLeft(a(document).scrollLeft()-e.scrollSpeed):a(window).width()-(b.pageX-a(document).scrollLeft())&lt;e.scrollSensitivity&amp;&amp;(f=a(document).scrollLeft(a(document).scrollLeft()+e.scrollSpeed))}f!==!1&amp;&amp;a.ui.ddmanager&amp;&amp;!e.dropBehaviour&amp;&amp;a.ui.ddmanager.prepareOffsets(d,b)}}),a.ui.plugin.add(<span class="stringliteral">&quot;draggable&quot;</span>,<span class="stringliteral">&quot;snap&quot;</span>,{start:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>),e=d.options;d.snapElements=[],a(e.snap.constructor!=String?e.snap.items||<span class="stringliteral">&quot;:data(draggable)&quot;</span>:e.snap).each(<span class="keyword">function</span>(){var b=a(<span class="keyword">this</span>),c=b.offset();<span class="keyword">this</span>!=d.element[0]&amp;&amp;d.snapElements.push({item:<span class="keyword">this</span>,width:b.outerWidth(),height:b.outerHeight(),top:c.top,left:c.left})})},drag:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>),e=d.options,f=e.snapTolerance,g=c.offset.left,h=g+d.helperProportions.width,i=c.offset.top,j=i+d.helperProportions.height;<span class="keywordflow">for</span>(var k=d.snapElements.length-1;k&gt;=0;k--){var l=d.snapElements[k].left,m=l+d.snapElements[k].width,n=d.snapElements[k].top,o=n+d.snapElements[k].height;<span class="keywordflow">if</span>(!(l-f&lt;g&amp;&amp;g&lt;m+f&amp;&amp;n-f&lt;i&amp;&amp;i&lt;o+f||l-f&lt;g&amp;&amp;g&lt;m+f&amp;&amp;n-f&lt;j&amp;&amp;j&lt;o+f||l-f&lt;h&amp;&amp;h&lt;m+f&amp;&amp;n-f&lt;i&amp;&amp;i&lt;o+f||l-f&lt;h&amp;&amp;h&lt;m+f&amp;&amp;n-f&lt;j&amp;&amp;j&lt;o+f)){d.snapElements[k].snapping&amp;&amp;d.options.snap.release&amp;&amp;d.options.snap.release.call(d.element,b,a.extend(d._uiHash(),{snapItem:d.snapElements[k].item})),d.snapElements[k].snapping=!1;<span class="keywordflow">continue</span>}<span class="keywordflow">if</span>(e.snapMode!=<span class="stringliteral">&quot;inner&quot;</span>){var p=Math.abs(n-j)&lt;=f,q=Math.abs(o-i)&lt;=f,r=Math.abs(l-h)&lt;=f,s=Math.abs(m-g)&lt;=f;p&amp;&amp;(c.position.top=d._convertPositionTo(<span class="stringliteral">&quot;relative&quot;</span>,{top:n-d.helperProportions.height,left:0}).top-d.margins.top),q&amp;&amp;(c.position.top=d._convertPositionTo(<span class="stringliteral">&quot;relative&quot;</span>,{top:o,left:0}).top-d.margins.top),r&amp;&amp;(c.position.left=d._convertPositionTo(<span class="stringliteral">&quot;relative&quot;</span>,{top:0,left:l-d.helperProportions.width}).left-d.margins.left),s&amp;&amp;(c.position.left=d._convertPositionTo(<span class="stringliteral">&quot;relative&quot;</span>,{top:0,left:m}).left-d.margins.left)}var t=p||q||r||s;<span class="keywordflow">if</span>(e.snapMode!=<span class="stringliteral">&quot;outer&quot;</span>){var p=Math.abs(n-i)&lt;=f,q=Math.abs(o-j)&lt;=f,r=Math.abs(l-g)&lt;=f,s=Math.abs(m-h)&lt;=f;p&amp;&amp;(c.position.top=d._convertPositionTo(<span class="stringliteral">&quot;relative&quot;</span>,{top:n,left:0}).top-d.margins.top),q&amp;&amp;(c.position.top=d._convertPositionTo(<span class="stringliteral">&quot;relative&quot;</span>,{top:o-d.helperProportions.height,left:0}).top-d.margins.top),r&amp;&amp;(c.position.left=d._convertPositionTo(<span class="stringliteral">&quot;relative&quot;</span>,{top:0,left:l}).left-d.margins.left),s&amp;&amp;(c.position.left=d._convertPositionTo(<span class="stringliteral">&quot;relative&quot;</span>,{top:0,left:m-d.helperProportions.width}).left-d.margins.left)}!d.snapElements[k].snapping&amp;&amp;(p||q||r||s||t)&amp;&amp;d.options.snap.snap&amp;&amp;d.options.snap.snap.call(d.element,b,a.extend(d._uiHash(),{snapItem:d.snapElements[k].item})),d.snapElements[k].snapping=p||q||r||s||t}}}),a.ui.plugin.add(<span class="stringliteral">&quot;draggable&quot;</span>,<span class="stringliteral">&quot;stack&quot;</span>,{start:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>).options,e=a.makeArray(a(d.stack)).sort(<span class="keyword">function</span>(b,c){<span class="keywordflow">return</span>(parseInt(a(b).css(<span class="stringliteral">&quot;zIndex&quot;</span>),10)||0)-(parseInt(a(c).css(<span class="stringliteral">&quot;zIndex&quot;</span>),10)||0)});<span class="keywordflow">if</span>(!e.length)<span class="keywordflow">return</span>;var f=parseInt(e[0].style.zIndex)||0;a(e).each(<span class="keyword">function</span>(a){this.style.zIndex=f+a}),<span class="keyword">this</span>[0].style.zIndex=f+e.length}}),a.ui.plugin.add(<span class="stringliteral">&quot;draggable&quot;</span>,<span class="stringliteral">&quot;zIndex&quot;</span>,{start:<span class="keyword">function</span>(b,c){var d=a(c.helper),e=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>).options;d.css(<span class="stringliteral">&quot;zIndex&quot;</span>)&amp;&amp;(e._zIndex=d.css(<span class="stringliteral">&quot;zIndex&quot;</span>)),d.css(<span class="stringliteral">&quot;zIndex&quot;</span>,e.zIndex)},stop:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;draggable&quot;</span>).options;d._zIndex&amp;&amp;a(c.helper).css(<span class="stringliteral">&quot;zIndex&quot;</span>,d._zIndex)}})}(jQuery),<span class="keyword">function</span>(a,b){a.widget(<span class="stringliteral">&quot;ui.droppable&quot;</span>,{widgetEventPrefix:<span class="stringliteral">&quot;drop&quot;</span>,options:{accept:<span class="stringliteral">&quot;*&quot;</span>,activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:<span class="stringliteral">&quot;default&quot;</span>,tolerance:<span class="stringliteral">&quot;intersect&quot;</span>},_create:<span class="keyword">function</span>(){var b=this.options,c=b.accept;this.isover=0,this.isout=1,this.accept=a.isFunction(c)?c:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> a.is(c)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},a.ui.ddmanager.droppables[b.scope]=a.ui.ddmanager.droppables[b.scope]||[],a.ui.ddmanager.droppables[b.scope].push(<span class="keyword">this</span>),b.addClasses&amp;&amp;this.element.addClass(<span class="stringliteral">&quot;ui-droppable&quot;</span>)},destroy:<span class="keyword">function</span>(){var b=a.ui.ddmanager.droppables[this.options.scope];<span class="keywordflow">for</span>(var c=0;c&lt;b.length;c++)b[c]==<span class="keyword">this</span>&amp;&amp;b.splice(c,1);<span class="keywordflow">return</span> this.element.removeClass(<span class="stringliteral">&quot;ui-droppable ui-droppable-disabled&quot;</span>).removeData(<span class="stringliteral">&quot;droppable&quot;</span>).unbind(<span class="stringliteral">&quot;.droppable&quot;</span>),<span class="keyword">this</span>},_setOption:<span class="keyword">function</span>(b,c){b==<span class="stringliteral">&quot;accept&quot;</span>&amp;&amp;(this.accept=a.isFunction(c)?c:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> a.is(c)}),a.Widget.prototype._setOption.apply(<span class="keyword">this</span>,arguments)},_activate:<span class="keyword">function</span>(b){var c=a.ui.ddmanager.current;this.options.activeClass&amp;&amp;this.element.addClass(this.options.activeClass),c&amp;&amp;this._trigger(<span class="stringliteral">&quot;activate&quot;</span>,b,this.ui(c))},_deactivate:<span class="keyword">function</span>(b){var c=a.ui.ddmanager.current;this.options.activeClass&amp;&amp;this.element.removeClass(this.options.activeClass),c&amp;&amp;this._trigger(<span class="stringliteral">&quot;deactivate&quot;</span>,b,this.ui(c))},_over:<span class="keyword">function</span>(b){var c=a.ui.ddmanager.current;<span class="keywordflow">if</span>(!c||(c.currentItem||c.element)[0]==this.element[0])<span class="keywordflow">return</span>;this.accept.call(this.element[0],c.currentItem||c.element)&amp;&amp;(this.options.hoverClass&amp;&amp;this.element.addClass(this.options.hoverClass),this._trigger(<span class="stringliteral">&quot;over&quot;</span>,b,this.ui(c)))},_out:<span class="keyword">function</span>(b){var c=a.ui.ddmanager.current;<span class="keywordflow">if</span>(!c||(c.currentItem||c.element)[0]==this.element[0])<span class="keywordflow">return</span>;this.accept.call(this.element[0],c.currentItem||c.element)&amp;&amp;(this.options.hoverClass&amp;&amp;this.element.removeClass(this.options.hoverClass),this._trigger(<span class="stringliteral">&quot;out&quot;</span>,b,this.ui(c)))},_drop:<span class="keyword">function</span>(b,c){var d=c||a.ui.ddmanager.current;<span class="keywordflow">if</span>(!d||(d.currentItem||d.element)[0]==this.element[0])<span class="keywordflow">return</span>!1;var e=!1;<span class="keywordflow">return</span> this.element.find(<span class="stringliteral">&quot;:data(droppable)&quot;</span>).not(<span class="stringliteral">&quot;.ui-draggable-dragging&quot;</span>).each(<span class="keyword">function</span>(){var b=a.data(<span class="keyword">this</span>,<span class="stringliteral">&quot;droppable&quot;</span>);<span class="keywordflow">if</span>(b.options.greedy&amp;&amp;!b.options.disabled&amp;&amp;b.options.scope==d.options.scope&amp;&amp;b.accept.call(b.element[0],d.currentItem||d.element)&amp;&amp;a.ui.intersect(d,a.extend(b,{offset:b.element.offset()}),b.options.tolerance))<span class="keywordflow">return</span> e=!0,!1}),e?!1:this.accept.call(this.element[0],d.currentItem||d.element)?(this.options.activeClass&amp;&amp;this.element.removeClass(this.options.activeClass),this.options.hoverClass&amp;&amp;this.element.removeClass(this.options.hoverClass),this._trigger(<span class="stringliteral">&quot;drop&quot;</span>,b,this.ui(d)),this.element):!1},ui:<span class="keyword">function</span>(a){<span class="keywordflow">return</span>{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}}),a.extend(a.ui.droppable,{version:<span class="stringliteral">&quot;1.8.20&quot;</span>}),a.ui.intersect=<span class="keyword">function</span>(b,c,d){<span class="keywordflow">if</span>(!c.offset)<span class="keywordflow">return</span>!1;var e=(b.positionAbs||b.position.absolute).left,f=e+b.helperProportions.width,g=(b.positionAbs||b.position.absolute).top,h=g+b.helperProportions.height,i=c.offset.left,j=i+c.proportions.width,k=c.offset.top,l=k+c.proportions.height;<span class="keywordflow">switch</span>(d){<span class="keywordflow">case</span><span class="stringliteral">&quot;fit&quot;</span>:<span class="keywordflow">return</span> i&lt;=e&amp;&amp;f&lt;=j&amp;&amp;k&lt;=g&amp;&amp;h&lt;=l;<span class="keywordflow">case</span><span class="stringliteral">&quot;intersect&quot;</span>:<span class="keywordflow">return</span> i&lt;e+b.helperProportions.width/2&amp;&amp;f-b.helperProportions.width/2&lt;j&amp;&amp;k&lt;g+b.helperProportions.height/2&amp;&amp;h-b.helperProportions.height/2&lt;l;<span class="keywordflow">case</span><span class="stringliteral">&quot;pointer&quot;</span>:var m=(b.positionAbs||b.position.absolute).left+(b.clickOffset||b.offset.click).left,n=(b.positionAbs||b.position.absolute).top+(b.clickOffset||b.offset.click).top,o=a.ui.isOver(n,m,k,i,c.proportions.height,c.proportions.width);<span class="keywordflow">return</span> o;<span class="keywordflow">case</span><span class="stringliteral">&quot;touch&quot;</span>:<span class="keywordflow">return</span>(g&gt;=k&amp;&amp;g&lt;=l||h&gt;=k&amp;&amp;h&lt;=l||g&lt;k&amp;&amp;h&gt;l)&amp;&amp;(e&gt;=i&amp;&amp;e&lt;=j||f&gt;=i&amp;&amp;f&lt;=j||e&lt;i&amp;&amp;f&gt;j);<span class="keywordflow">default</span>:<span class="keywordflow">return</span>!1}},a.ui.ddmanager={current:null,droppables:{<span class="stringliteral">&quot;default&quot;</span>:[]},prepareOffsets:<span class="keyword">function</span>(b,c){var d=a.ui.ddmanager.droppables[b.options.scope]||[],e=c?c.type:null,f=(b.currentItem||b.element).find(<span class="stringliteral">&quot;:data(droppable)&quot;</span>).andSelf();g:<span class="keywordflow">for</span>(var h=0;h&lt;d.length;h++){<span class="keywordflow">if</span>(d[h].options.disabled||b&amp;&amp;!d[h].accept.call(d[h].element[0],b.currentItem||b.element))<span class="keywordflow">continue</span>;<span class="keywordflow">for</span>(var i=0;i&lt;f.length;i++)<span class="keywordflow">if</span>(f[i]==d[h].element[0]){d[h].proportions.height=0;<span class="keywordflow">continue</span> g}d[h].visible=d[h].element.css(<span class="stringliteral">&quot;display&quot;</span>)!=<span class="stringliteral">&quot;none&quot;</span>;<span class="keywordflow">if</span>(!d[h].visible)<span class="keywordflow">continue</span>;e==<span class="stringliteral">&quot;mousedown&quot;</span>&amp;&amp;d[h]._activate.call(d[h],c),d[h].offset=d[h].element.offset(),d[h].proportions={width:d[h].element[0].offsetWidth,height:d[h].element[0].offsetHeight}}},drop:<span class="keyword">function</span>(b,c){var d=!1;<span class="keywordflow">return</span> a.each(a.ui.ddmanager.droppables[b.options.scope]||[],<span class="keyword">function</span>(){<span class="keywordflow">if</span>(!<span class="keyword">this</span>.options)<span class="keywordflow">return</span>;!<span class="keyword">this</span>.options.disabled&amp;&amp;<span class="keyword">this</span>.visible&amp;&amp;a.ui.intersect(b,<span class="keyword">this</span>,<span class="keyword">this</span>.options.tolerance)&amp;&amp;(d=this._drop.call(<span class="keyword">this</span>,c)||d),!this.options.disabled&amp;&amp;<span class="keyword">this</span>.visible&amp;&amp;<span class="keyword">this</span>.accept.call(<span class="keyword">this</span>.element[0],b.currentItem||b.element)&amp;&amp;(this.isout=1,this.isover=0,this._deactivate.call(<span class="keyword">this</span>,c))}),d},dragStart:<span class="keyword">function</span>(b,c){b.element.parents(<span class="stringliteral">&quot;:not(body,html)&quot;</span>).bind(<span class="stringliteral">&quot;scroll.droppable&quot;</span>,<span class="keyword">function</span>(){b.options.refreshPositions||a.ui.ddmanager.prepareOffsets(b,c)})},drag:<span class="keyword">function</span>(b,c){b.options.refreshPositions&amp;&amp;a.ui.ddmanager.prepareOffsets(b,c),a.each(a.ui.ddmanager.droppables[b.options.scope]||[],<span class="keyword">function</span>(){<span class="keywordflow">if</span>(<span class="keyword">this</span>.options.disabled||<span class="keyword">this</span>.greedyChild||!<span class="keyword">this</span>.visible)<span class="keywordflow">return</span>;var d=a.ui.intersect(b,<span class="keyword">this</span>,<span class="keyword">this</span>.options.tolerance),e=!d&amp;&amp;this.isover==1?<span class="stringliteral">&quot;isout&quot;</span>:d&amp;&amp;this.isover==0?<span class="stringliteral">&quot;isover&quot;</span>:null;<span class="keywordflow">if</span>(!e)<span class="keywordflow">return</span>;var f;<span class="keywordflow">if</span>(this.options.greedy){var g=this.element.parents(<span class="stringliteral">&quot;:data(droppable):eq(0)&quot;</span>);g.length&amp;&amp;(f=a.data(g[0],<span class="stringliteral">&quot;droppable&quot;</span>),f.greedyChild=e==<span class="stringliteral">&quot;isover&quot;</span>?1:0)}f&amp;&amp;e==<span class="stringliteral">&quot;isover&quot;</span>&amp;&amp;(f.isover=0,f.isout=1,f._out.call(f,c)),<span class="keyword">this</span>[e]=1,<span class="keyword">this</span>[e==<span class="stringliteral">&quot;isout&quot;</span>?<span class="stringliteral">&quot;isover&quot;</span>:<span class="stringliteral">&quot;isout&quot;</span>]=0,<span class="keyword">this</span>[e==<span class="stringliteral">&quot;isover&quot;</span>?<span class="stringliteral">&quot;_over&quot;</span>:<span class="stringliteral">&quot;_out&quot;</span>].call(<span class="keyword">this</span>,c),f&amp;&amp;e==<span class="stringliteral">&quot;isout&quot;</span>&amp;&amp;(f.isout=0,f.isover=1,f._over.call(f,c))})},dragStop:<span class="keyword">function</span>(b,c){b.element.parents(<span class="stringliteral">&quot;:not(body,html)&quot;</span>).unbind(<span class="stringliteral">&quot;scroll.droppable&quot;</span>),b.options.refreshPositions||a.ui.ddmanager.prepareOffsets(b,c)}}}(jQuery),<span class="keyword">function</span>(a,b){a.widget(<span class="stringliteral">&quot;ui.resizable&quot;</span>,a.ui.mouse,{widgetEventPrefix:<span class="stringliteral">&quot;resize&quot;</span>,options:{alsoResize:!1,animate:!1,animateDuration:<span class="stringliteral">&quot;slow&quot;</span>,animateEasing:<span class="stringliteral">&quot;swing&quot;</span>,aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:<span class="stringliteral">&quot;e,s,se&quot;</span>,helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:<span class="keyword">function</span>(){var b=<span class="keyword">this</span>,c=this.options;this.element.addClass(<span class="stringliteral">&quot;ui-resizable&quot;</span>),a.extend(<span class="keyword">this</span>,{_aspectRatio:!!c.aspectRatio,aspectRatio:c.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:c.helper||c.ghost||c.animate?c.helper||<span class="stringliteral">&quot;ui-resizable-helper&quot;</span>:null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&amp;&amp;(this.element.wrap(a(<span class="stringliteral">&#39;&lt;div class=&quot;ui-wrapper&quot; style=&quot;overflow: hidden;&quot;&gt;&lt;/div&gt;&#39;</span>).css({position:this.element.css(<span class="stringliteral">&quot;position&quot;</span>),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css(<span class="stringliteral">&quot;top&quot;</span>),left:this.element.css(<span class="stringliteral">&quot;left&quot;</span>)})),this.element=this.element.parent().data(<span class="stringliteral">&quot;resizable&quot;</span>,this.element.data(<span class="stringliteral">&quot;resizable&quot;</span>)),this.elementIsWrapper=!0,this.element.css({marginLeft:<span class="keyword">this</span>.originalElement.css(<span class="stringliteral">&quot;marginLeft&quot;</span>),marginTop:this.originalElement.css(<span class="stringliteral">&quot;marginTop&quot;</span>),marginRight:this.originalElement.css(<span class="stringliteral">&quot;marginRight&quot;</span>),marginBottom:this.originalElement.css(<span class="stringliteral">&quot;marginBottom&quot;</span>)}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css(<span class="stringliteral">&quot;resize&quot;</span>),this.originalElement.css(<span class="stringliteral">&quot;resize&quot;</span>,<span class="stringliteral">&quot;none&quot;</span>),this._proportionallyResizeElements.push(this.originalElement.css({position:<span class="stringliteral">&quot;static&quot;</span>,zoom:1,display:<span class="stringliteral">&quot;block&quot;</span>})),this.originalElement.css({margin:this.originalElement.css(<span class="stringliteral">&quot;margin&quot;</span>)}),this._proportionallyResize()),this.handles=c.handles||(a(<span class="stringliteral">&quot;.ui-resizable-handle&quot;</span>,this.element).length?{n:<span class="stringliteral">&quot;.ui-resizable-n&quot;</span>,e:<span class="stringliteral">&quot;.ui-resizable-e&quot;</span>,s:<span class="stringliteral">&quot;.ui-resizable-s&quot;</span>,w:<span class="stringliteral">&quot;.ui-resizable-w&quot;</span>,se:<span class="stringliteral">&quot;.ui-resizable-se&quot;</span>,sw:<span class="stringliteral">&quot;.ui-resizable-sw&quot;</span>,ne:<span class="stringliteral">&quot;.ui-resizable-ne&quot;</span>,nw:<span class="stringliteral">&quot;.ui-resizable-nw&quot;</span>}:<span class="stringliteral">&quot;e,s,se&quot;</span>);<span class="keywordflow">if</span>(this.handles.constructor==String){this.handles==<span class="stringliteral">&quot;all&quot;</span>&amp;&amp;(this.handles=<span class="stringliteral">&quot;n,e,s,w,se,sw,ne,nw&quot;</span>);var d=this.handles.split(<span class="stringliteral">&quot;,&quot;</span>);this.handles={};<span class="keywordflow">for</span>(var e=0;e&lt;d.length;e++){var f=a.trim(d[e]),g=<span class="stringliteral">&quot;ui-resizable-&quot;</span>+f,h=a(<span class="stringliteral">&#39;&lt;div class=&quot;ui-resizable-handle &#39;</span>+g+<span class="stringliteral">&#39;&quot;&gt;&lt;/div&gt;&#39;</span>);h.css({zIndex:c.zIndex}),<span class="stringliteral">&quot;se&quot;</span>==f&amp;&amp;h.addClass(<span class="stringliteral">&quot;ui-icon ui-icon-gripsmall-diagonal-se&quot;</span>),this.handles[f]=<span class="stringliteral">&quot;.ui-resizable-&quot;</span>+f,this.element.append(h)}}this._renderAxis=<span class="keyword">function</span>(b){b=b||this.element;<span class="keywordflow">for</span>(var c in this.handles){this.handles[c].constructor==String&amp;&amp;(this.handles[c]=a(this.handles[c],this.element).show());<span class="keywordflow">if</span>(this.elementIsWrapper&amp;&amp;this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var d=a(this.handles[c],this.element),e=0;e=/sw|ne|nw|se|n|s/.test(c)?d.outerHeight():d.outerWidth();var f=[<span class="stringliteral">&quot;padding&quot;</span>,/ne|nw|n/.test(c)?<span class="stringliteral">&quot;Top&quot;</span>:/se|sw|s/.test(c)?<span class="stringliteral">&quot;Bottom&quot;</span>:/^e$/.test(c)?<span class="stringliteral">&quot;Right&quot;</span>:<span class="stringliteral">&quot;Left&quot;</span>].join(<span class="stringliteral">&quot;&quot;</span>);b.css(f,e),this._proportionallyResize()}<span class="keywordflow">if</span>(!a(this.handles[c]).length)<span class="keywordflow">continue</span>}},this._renderAxis(this.element),this._handles=a(<span class="stringliteral">&quot;.ui-resizable-handle&quot;</span>,this.element).disableSelection(),this._handles.mouseover(<span class="keyword">function</span>(){<span class="keywordflow">if</span>(!b.resizing){<span class="keywordflow">if</span>(<span class="keyword">this</span>.className)var a=<span class="keyword">this</span>.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=a&amp;&amp;a[1]?a[1]:<span class="stringliteral">&quot;se&quot;</span>}}),c.autoHide&amp;&amp;(<span class="keyword">this</span>._handles.hide(),a(this.element).addClass(<span class="stringliteral">&quot;ui-resizable-autohide&quot;</span>).hover(<span class="keyword">function</span>(){<span class="keywordflow">if</span>(c.disabled)<span class="keywordflow">return</span>;a(<span class="keyword">this</span>).removeClass(<span class="stringliteral">&quot;ui-resizable-autohide&quot;</span>),b._handles.show()},<span class="keyword">function</span>(){<span class="keywordflow">if</span>(c.disabled)<span class="keywordflow">return</span>;b.resizing||(a(<span class="keyword">this</span>).addClass(<span class="stringliteral">&quot;ui-resizable-autohide&quot;</span>),b._handles.hide())})),this._mouseInit()},destroy:<span class="keyword">function</span>(){this._mouseDestroy();var b=<span class="keyword">function</span>(b){a(b).removeClass(<span class="stringliteral">&quot;ui-resizable ui-resizable-disabled ui-resizable-resizing&quot;</span>).removeData(<span class="stringliteral">&quot;resizable&quot;</span>).unbind(<span class="stringliteral">&quot;.resizable&quot;</span>).find(<span class="stringliteral">&quot;.ui-resizable-handle&quot;</span>).remove()};<span class="keywordflow">if</span>(this.elementIsWrapper){b(this.element);var c=this.element;c.after(this.originalElement.css({position:c.css(<span class="stringliteral">&quot;position&quot;</span>),width:c.outerWidth(),height:c.outerHeight(),top:c.css(<span class="stringliteral">&quot;top&quot;</span>),left:c.css(<span class="stringliteral">&quot;left&quot;</span>)})).remove()}<span class="keywordflow">return</span> this.originalElement.css(<span class="stringliteral">&quot;resize&quot;</span>,this.originalResizeStyle),b(this.originalElement),<span class="keyword">this</span>},_mouseCapture:<span class="keyword">function</span>(b){var c=!1;<span class="keywordflow">for</span>(var d in this.handles)a(this.handles[d])[0]==b.target&amp;&amp;(c=!0);<span class="keywordflow">return</span>!this.options.disabled&amp;&amp;c},_mouseStart:<span class="keyword">function</span>(b){var d=this.options,e=this.element.position(),f=this.element;this.resizing=!0,this.documentScroll={top:a(document).scrollTop(),left:a(document).scrollLeft()},(f.is(<span class="stringliteral">&quot;.ui-draggable&quot;</span>)||/absolute/.test(f.css(<span class="stringliteral">&quot;position&quot;</span>)))&amp;&amp;f.css({position:<span class="stringliteral">&quot;absolute&quot;</span>,top:e.top,left:e.left}),this._renderProxy();var g=c(this.helper.css(<span class="stringliteral">&quot;left&quot;</span>)),h=c(this.helper.css(<span class="stringliteral">&quot;top&quot;</span>));d.containment&amp;&amp;(g+=a(d.containment).scrollLeft()||0,h+=a(d.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:g,top:h},this.size=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalSize=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalPosition={left:g,top:h},this.sizeDiff={width:f.outerWidth()-f.width(),height:f.outerHeight()-f.height()},this.originalMousePosition={left:b.pageX,top:b.pageY},this.aspectRatio=typeof d.aspectRatio==<span class="stringliteral">&quot;number&quot;</span>?d.aspectRatio:this.originalSize.width/this.originalSize.height||1;var i=a(<span class="stringliteral">&quot;.ui-resizable-&quot;</span>+this.axis).css(<span class="stringliteral">&quot;cursor&quot;</span>);<span class="keywordflow">return</span> a(<span class="stringliteral">&quot;body&quot;</span>).css(<span class="stringliteral">&quot;cursor&quot;</span>,i==<span class="stringliteral">&quot;auto&quot;</span>?this.axis+<span class="stringliteral">&quot;-resize&quot;</span>:i),f.addClass(<span class="stringliteral">&quot;ui-resizable-resizing&quot;</span>),this._propagate(<span class="stringliteral">&quot;start&quot;</span>,b),!0},_mouseDrag:<span class="keyword">function</span>(b){var c=this.helper,d=this.options,e={},f=<span class="keyword">this</span>,g=this.originalMousePosition,h=this.axis,i=b.pageX-g.left||0,j=b.pageY-g.top||0,k=this._change[h];<span class="keywordflow">if</span>(!k)<span class="keywordflow">return</span>!1;var l=k.apply(<span class="keyword">this</span>,[b,i,j]),m=a.browser.msie&amp;&amp;a.browser.version&lt;7,n=this.sizeDiff;this._updateVirtualBoundaries(b.shiftKey);<span class="keywordflow">if</span>(this._aspectRatio||b.shiftKey)l=this._updateRatio(l,b);<span class="keywordflow">return</span> l=this._respectSize(l,b),this._propagate(<span class="stringliteral">&quot;resize&quot;</span>,b),c.css({top:this.position.top+<span class="stringliteral">&quot;px&quot;</span>,left:this.position.left+<span class="stringliteral">&quot;px&quot;</span>,width:this.size.width+<span class="stringliteral">&quot;px&quot;</span>,height:this.size.height+<span class="stringliteral">&quot;px&quot;</span>}),!this._helper&amp;&amp;this._proportionallyResizeElements.length&amp;&amp;<span class="keyword">this</span>._proportionallyResize(),this._updateCache(l),this._trigger(<span class="stringliteral">&quot;resize&quot;</span>,b,this.ui()),!1},_mouseStop:<span class="keyword">function</span>(b){this.resizing=!1;var c=this.options,d=<span class="keyword">this</span>;<span class="keywordflow">if</span>(this._helper){var e=this._proportionallyResizeElements,f=e.length&amp;&amp;/textarea/i.test(e[0].nodeName),g=f&amp;&amp;a.ui.hasScroll(e[0],<span class="stringliteral">&quot;left&quot;</span>)?0:d.sizeDiff.height,h=f?0:d.sizeDiff.width,i={width:d.helper.width()-h,height:d.helper.height()-g},j=parseInt(d.element.css(<span class="stringliteral">&quot;left&quot;</span>),10)+(d.position.left-d.originalPosition.left)||null,k=parseInt(d.element.css(<span class="stringliteral">&quot;top&quot;</span>),10)+(d.position.top-d.originalPosition.top)||null;c.animate||this.element.css(a.extend(i,{top:k,left:j})),d.helper.height(d.size.height),d.helper.width(d.size.width),this._helper&amp;&amp;!c.animate&amp;&amp;this._proportionallyResize()}<span class="keywordflow">return</span> a(<span class="stringliteral">&quot;body&quot;</span>).css(<span class="stringliteral">&quot;cursor&quot;</span>,<span class="stringliteral">&quot;auto&quot;</span>),this.element.removeClass(<span class="stringliteral">&quot;ui-resizable-resizing&quot;</span>),this._propagate(<span class="stringliteral">&quot;stop&quot;</span>,b),this._helper&amp;&amp;this.helper.remove(),!1},_updateVirtualBoundaries:<span class="keyword">function</span>(a){var b=this.options,c,e,f,g,h;h={minWidth:d(b.minWidth)?b.minWidth:0,maxWidth:d(b.maxWidth)?b.maxWidth:Infinity,minHeight:d(b.minHeight)?b.minHeight:0,maxHeight:d(b.maxHeight)?b.maxHeight:Infinity};<span class="keywordflow">if</span>(this._aspectRatio||a)c=h.minHeight*this.aspectRatio,f=h.minWidth/this.aspectRatio,e=h.maxHeight*this.aspectRatio,g=h.maxWidth/this.aspectRatio,c&gt;h.minWidth&amp;&amp;(h.minWidth=c),f&gt;h.minHeight&amp;&amp;(h.minHeight=f),e&lt;h.maxWidth&amp;&amp;(h.maxWidth=e),g&lt;h.maxHeight&amp;&amp;(h.maxHeight=g);this._vBoundaries=h},_updateCache:<span class="keyword">function</span>(a){var b=this.options;this.offset=this.helper.offset(),d(a.left)&amp;&amp;(this.position.left=a.left),d(a.top)&amp;&amp;(this.position.top=a.top),d(a.height)&amp;&amp;(this.size.height=a.height),d(a.width)&amp;&amp;(this.size.width=a.width)},_updateRatio:<span class="keyword">function</span>(a,b){var c=this.options,e=this.position,f=this.size,g=this.axis;<span class="keywordflow">return</span> d(a.height)?a.width=a.height*this.aspectRatio:d(a.width)&amp;&amp;(a.height=a.width/this.aspectRatio),g==<span class="stringliteral">&quot;sw&quot;</span>&amp;&amp;(a.left=e.left+(f.width-a.width),a.top=null),g==<span class="stringliteral">&quot;nw&quot;</span>&amp;&amp;(a.top=e.top+(f.height-a.height),a.left=e.left+(f.width-a.width)),a},_respectSize:<span class="keyword">function</span>(a,b){var c=this.helper,e=this._vBoundaries,f=this._aspectRatio||b.shiftKey,g=this.axis,h=d(a.width)&amp;&amp;e.maxWidth&amp;&amp;e.maxWidth&lt;a.width,i=d(a.height)&amp;&amp;e.maxHeight&amp;&amp;e.maxHeight&lt;a.height,j=d(a.width)&amp;&amp;e.minWidth&amp;&amp;e.minWidth&gt;a.width,k=d(a.height)&amp;&amp;e.minHeight&amp;&amp;e.minHeight&gt;a.height;j&amp;&amp;(a.width=e.minWidth),k&amp;&amp;(a.height=e.minHeight),h&amp;&amp;(a.width=e.maxWidth),i&amp;&amp;(a.height=e.maxHeight);var l=this.originalPosition.left+this.originalSize.width,m=this.position.top+this.size.height,n=/sw|nw|w/.test(g),o=/nw|ne|n/.test(g);j&amp;&amp;n&amp;&amp;(a.left=l-e.minWidth),h&amp;&amp;n&amp;&amp;(a.left=l-e.maxWidth),k&amp;&amp;o&amp;&amp;(a.top=m-e.minHeight),i&amp;&amp;o&amp;&amp;(a.top=m-e.maxHeight);var p=!a.width&amp;&amp;!a.height;<span class="keywordflow">return</span> p&amp;&amp;!a.left&amp;&amp;a.top?a.top=null:p&amp;&amp;!a.top&amp;&amp;a.left&amp;&amp;(a.left=null),a},_proportionallyResize:<span class="keyword">function</span>(){var b=this.options;<span class="keywordflow">if</span>(!this._proportionallyResizeElements.length)<span class="keywordflow">return</span>;var c=this.helper||this.element;<span class="keywordflow">for</span>(var d=0;d&lt;this._proportionallyResizeElements.length;d++){var e=this._proportionallyResizeElements[d];<span class="keywordflow">if</span>(!this.borderDif){var f=[e.css(<span class="stringliteral">&quot;borderTopWidth&quot;</span>),e.css(<span class="stringliteral">&quot;borderRightWidth&quot;</span>),e.css(<span class="stringliteral">&quot;borderBottomWidth&quot;</span>),e.css(<span class="stringliteral">&quot;borderLeftWidth&quot;</span>)],g=[e.css(<span class="stringliteral">&quot;paddingTop&quot;</span>),e.css(<span class="stringliteral">&quot;paddingRight&quot;</span>),e.css(<span class="stringliteral">&quot;paddingBottom&quot;</span>),e.css(<span class="stringliteral">&quot;paddingLeft&quot;</span>)];this.borderDif=a.map(f,<span class="keyword">function</span>(a,b){var c=parseInt(a,10)||0,d=parseInt(g[b],10)||0;<span class="keywordflow">return</span> c+d})}<span class="keywordflow">if</span>(!a.browser.msie||!a(c).is(<span class="stringliteral">&quot;:hidden&quot;</span>)&amp;&amp;!a(c).parents(<span class="stringliteral">&quot;:hidden&quot;</span>).length)e.css({height:c.height()-this.borderDif[0]-this.borderDif[2]||0,width:c.width()-this.borderDif[1]-this.borderDif[3]||0});<span class="keywordflow">else</span> <span class="keywordflow">continue</span>}},_renderProxy:<span class="keyword">function</span>(){var b=this.element,c=this.options;this.elementOffset=b.offset();<span class="keywordflow">if</span>(this._helper){this.helper=this.helper||a(<span class="stringliteral">&#39;&lt;div style=&quot;overflow:hidden;&quot;&gt;&lt;/div&gt;&#39;</span>);var d=a.browser.msie&amp;&amp;a.browser.version&lt;7,e=d?1:0,f=d?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+f,height:this.element.outerHeight()+f,position:<span class="stringliteral">&quot;absolute&quot;</span>,left:this.elementOffset.left-e+<span class="stringliteral">&quot;px&quot;</span>,top:this.elementOffset.top-e+<span class="stringliteral">&quot;px&quot;</span>,zIndex:++c.zIndex}),this.helper.appendTo(<span class="stringliteral">&quot;body&quot;</span>).disableSelection()}<span class="keywordflow">else</span> this.helper=this.element},_change:{e:<span class="keyword">function</span>(a,b,c){<span class="keywordflow">return</span>{width:this.originalSize.width+b}},w:<span class="keyword">function</span>(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;<span class="keywordflow">return</span>{left:f.left+b,width:e.width-b}},n:<span class="keyword">function</span>(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;<span class="keywordflow">return</span>{top:f.top+c,height:e.height-c}},s:<span class="keyword">function</span>(a,b,c){<span class="keywordflow">return</span>{height:this.originalSize.height+c}},se:<span class="keyword">function</span>(b,c,d){<span class="keywordflow">return</span> a.extend(this._change.s.apply(<span class="keyword">this</span>,arguments),this._change.e.apply(<span class="keyword">this</span>,[b,c,d]))},sw:<span class="keyword">function</span>(b,c,d){<span class="keywordflow">return</span> a.extend(this._change.s.apply(<span class="keyword">this</span>,arguments),this._change.w.apply(<span class="keyword">this</span>,[b,c,d]))},ne:<span class="keyword">function</span>(b,c,d){<span class="keywordflow">return</span> a.extend(this._change.n.apply(<span class="keyword">this</span>,arguments),this._change.e.apply(<span class="keyword">this</span>,[b,c,d]))},nw:<span class="keyword">function</span>(b,c,d){<span class="keywordflow">return</span> a.extend(this._change.n.apply(<span class="keyword">this</span>,arguments),this._change.w.apply(<span class="keyword">this</span>,[b,c,d]))}},_propagate:<span class="keyword">function</span>(b,c){a.ui.plugin.call(<span class="keyword">this</span>,b,[c,this.ui()]),b!=<span class="stringliteral">&quot;resize&quot;</span>&amp;&amp;this._trigger(b,c,this.ui())},plugins:{},ui:<span class="keyword">function</span>(){<span class="keywordflow">return</span>{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),a.extend(a.ui.resizable,{version:<span class="stringliteral">&quot;1.8.20&quot;</span>}),a.ui.plugin.add(<span class="stringliteral">&quot;resizable&quot;</span>,<span class="stringliteral">&quot;alsoResize&quot;</span>,{start:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;resizable&quot;</span>),e=d.options,f=<span class="keyword">function</span>(b){a(b).each(<span class="keyword">function</span>(){var b=a(<span class="keyword">this</span>);b.data(<span class="stringliteral">&quot;resizable-alsoresize&quot;</span>,{width:parseInt(b.width(),10),height:parseInt(b.height(),10),left:parseInt(b.css(<span class="stringliteral">&quot;left&quot;</span>),10),top:parseInt(b.css(<span class="stringliteral">&quot;top&quot;</span>),10)})})};typeof e.alsoResize==<span class="stringliteral">&quot;object&quot;</span>&amp;&amp;!e.alsoResize.parentNode?e.alsoResize.length?(e.alsoResize=e.alsoResize[0],f(e.alsoResize)):a.each(e.alsoResize,<span class="keyword">function</span>(a){f(a)}):f(e.alsoResize)},resize:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;resizable&quot;</span>),e=d.options,f=d.originalSize,g=d.originalPosition,h={height:d.size.height-f.height||0,width:d.size.width-f.width||0,top:d.position.top-g.top||0,left:d.position.left-g.left||0},i=<span class="keyword">function</span>(b,d){a(b).each(<span class="keyword">function</span>(){var b=a(<span class="keyword">this</span>),e=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;resizable-alsoresize&quot;</span>),f={},g=d&amp;&amp;d.length?d:b.parents(c.originalElement[0]).length?[<span class="stringliteral">&quot;width&quot;</span>,<span class="stringliteral">&quot;height&quot;</span>]:[<span class="stringliteral">&quot;width&quot;</span>,<span class="stringliteral">&quot;height&quot;</span>,<span class="stringliteral">&quot;top&quot;</span>,<span class="stringliteral">&quot;left&quot;</span>];a.each(g,<span class="keyword">function</span>(a,b){var c=(e[b]||0)+(h[b]||0);c&amp;&amp;c&gt;=0&amp;&amp;(f[b]=c||null)}),b.css(f)})};typeof e.alsoResize==<span class="stringliteral">&quot;object&quot;</span>&amp;&amp;!e.alsoResize.nodeType?a.each(e.alsoResize,<span class="keyword">function</span>(a,b){i(a,b)}):i(e.alsoResize)},stop:<span class="keyword">function</span>(b,c){a(<span class="keyword">this</span>).removeData(<span class="stringliteral">&quot;resizable-alsoresize&quot;</span>)}}),a.ui.plugin.add(<span class="stringliteral">&quot;resizable&quot;</span>,<span class="stringliteral">&quot;animate&quot;</span>,{stop:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;resizable&quot;</span>),e=d.options,f=d._proportionallyResizeElements,g=f.length&amp;&amp;/textarea/i.test(f[0].nodeName),h=g&amp;&amp;a.ui.hasScroll(f[0],<span class="stringliteral">&quot;left&quot;</span>)?0:d.sizeDiff.height,i=g?0:d.sizeDiff.width,j={width:d.size.width-i,height:d.size.height-h},k=parseInt(d.element.css(<span class="stringliteral">&quot;left&quot;</span>),10)+(d.position.left-d.originalPosition.left)||null,l=parseInt(d.element.css(<span class="stringliteral">&quot;top&quot;</span>),10)+(d.position.top-d.originalPosition.top)||null;d.element.animate(a.extend(j,l&amp;&amp;k?{top:l,left:k}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:<span class="keyword">function</span>(){var c={width:parseInt(d.element.css(<span class="stringliteral">&quot;width&quot;</span>),10),height:parseInt(d.element.css(<span class="stringliteral">&quot;height&quot;</span>),10),top:parseInt(d.element.css(<span class="stringliteral">&quot;top&quot;</span>),10),left:parseInt(d.element.css(<span class="stringliteral">&quot;left&quot;</span>),10)};f&amp;&amp;f.length&amp;&amp;a(f[0]).css({width:c.width,height:c.height}),d._updateCache(c),d._propagate(<span class="stringliteral">&quot;resize&quot;</span>,b)}})}}),a.ui.plugin.add(<span class="stringliteral">&quot;resizable&quot;</span>,<span class="stringliteral">&quot;containment&quot;</span>,{start:<span class="keyword">function</span>(b,d){var e=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;resizable&quot;</span>),f=e.options,g=e.element,h=f.containment,i=h instanceof a?h.get(0):/parent/.test(h)?g.parent().get(0):h;<span class="keywordflow">if</span>(!i)<span class="keywordflow">return</span>;e.containerElement=a(i);<span class="keywordflow">if</span>(/document/.test(h)||h==document)e.containerOffset={left:0,top:0},e.containerPosition={left:0,top:0},e.parentData={element:a(document),left:0,top:0,width:a(document).width(),height:a(document).height()||document.body.parentNode.scrollHeight};<span class="keywordflow">else</span>{var j=a(i),k=[];a([<span class="stringliteral">&quot;Top&quot;</span>,<span class="stringliteral">&quot;Right&quot;</span>,<span class="stringliteral">&quot;Left&quot;</span>,<span class="stringliteral">&quot;Bottom&quot;</span>]).each(<span class="keyword">function</span>(a,b){k[a]=c(j.css(<span class="stringliteral">&quot;padding&quot;</span>+b))}),e.containerOffset=j.offset(),e.containerPosition=j.position(),e.containerSize={height:j.innerHeight()-k[3],width:j.innerWidth()-k[1]};var l=e.containerOffset,m=e.containerSize.height,n=e.containerSize.width,o=a.ui.hasScroll(i,<span class="stringliteral">&quot;left&quot;</span>)?i.scrollWidth:n,p=a.ui.hasScroll(i)?i.scrollHeight:m;e.parentData={element:i,left:l.left,top:l.top,width:o,height:p}}},resize:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;resizable&quot;</span>),e=d.options,f=d.containerSize,g=d.containerOffset,h=d.size,i=d.position,j=d._aspectRatio||b.shiftKey,k={top:0,left:0},l=d.containerElement;l[0]!=document&amp;&amp;/<span class="keyword">static</span>/.test(l.css(<span class="stringliteral">&quot;position&quot;</span>))&amp;&amp;(k=g),i.left&lt;(d._helper?g.left:0)&amp;&amp;(d.size.width=d.size.width+(d._helper?d.position.left-g.left:d.position.left-k.left),j&amp;&amp;(d.size.height=d.size.width/d.aspectRatio),d.position.left=e.helper?g.left:0),i.top&lt;(d._helper?g.top:0)&amp;&amp;(d.size.height=d.size.height+(d._helper?d.position.top-g.top:d.position.top),j&amp;&amp;(d.size.width=d.size.height*d.aspectRatio),d.position.top=d._helper?g.top:0),d.offset.left=d.parentData.left+d.position.left,d.offset.top=d.parentData.top+d.position.top;var m=Math.abs((d._helper?d.offset.left-k.left:d.offset.left-k.left)+d.sizeDiff.width),n=Math.abs((d._helper?d.offset.top-k.top:d.offset.top-g.top)+d.sizeDiff.height),o=d.containerElement.get(0)==d.element.parent().get(0),p=/relative|absolute/.test(d.containerElement.css(<span class="stringliteral">&quot;position&quot;</span>));o&amp;&amp;p&amp;&amp;(m-=d.parentData.left),m+d.size.width&gt;=d.parentData.width&amp;&amp;(d.size.width=d.parentData.width-m,j&amp;&amp;(d.size.height=d.size.width/d.aspectRatio)),n+d.size.height&gt;=d.parentData.height&amp;&amp;(d.size.height=d.parentData.height-n,j&amp;&amp;(d.size.width=d.size.height*d.aspectRatio))},stop:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;resizable&quot;</span>),e=d.options,f=d.position,g=d.containerOffset,h=d.containerPosition,i=d.containerElement,j=a(d.helper),k=j.offset(),l=j.outerWidth()-d.sizeDiff.width,m=j.outerHeight()-d.sizeDiff.height;d._helper&amp;&amp;!e.animate&amp;&amp;/relative/.test(i.css(<span class="stringliteral">&quot;position&quot;</span>))&amp;&amp;a(<span class="keyword">this</span>).css({left:k.left-h.left-g.left,width:l,height:m}),d._helper&amp;&amp;!e.animate&amp;&amp;/<span class="keyword">static</span>/.test(i.css(<span class="stringliteral">&quot;position&quot;</span>))&amp;&amp;a(<span class="keyword">this</span>).css({left:k.left-h.left-g.left,width:l,height:m})}}),a.ui.plugin.add(<span class="stringliteral">&quot;resizable&quot;</span>,<span class="stringliteral">&quot;ghost&quot;</span>,{start:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;resizable&quot;</span>),e=d.options,f=d.size;d.ghost=d.originalElement.clone(),d.ghost.css({opacity:.25,display:<span class="stringliteral">&quot;block&quot;</span>,position:<span class="stringliteral">&quot;relative&quot;</span>,height:f.height,width:f.width,margin:0,left:0,top:0}).addClass(<span class="stringliteral">&quot;ui-resizable-ghost&quot;</span>).addClass(typeof e.ghost==<span class="stringliteral">&quot;string&quot;</span>?e.ghost:<span class="stringliteral">&quot;&quot;</span>),d.ghost.appendTo(d.helper)},resize:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;resizable&quot;</span>),e=d.options;d.ghost&amp;&amp;d.ghost.css({position:<span class="stringliteral">&quot;relative&quot;</span>,height:d.size.height,width:d.size.width})},stop:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;resizable&quot;</span>),e=d.options;d.ghost&amp;&amp;d.helper&amp;&amp;d.helper.get(0).removeChild(d.ghost.get(0))}}),a.ui.plugin.add(<span class="stringliteral">&quot;resizable&quot;</span>,<span class="stringliteral">&quot;grid&quot;</span>,{resize:<span class="keyword">function</span>(b,c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;resizable&quot;</span>),e=d.options,f=d.size,g=d.originalSize,h=d.originalPosition,i=d.axis,j=e._aspectRatio||b.shiftKey;e.grid=typeof e.grid==<span class="stringliteral">&quot;number&quot;</span>?[e.grid,e.grid]:e.grid;var k=Math.round((f.width-g.width)/(e.grid[0]||1))*(e.grid[0]||1),l=Math.round((f.height-g.height)/(e.grid[1]||1))*(e.grid[1]||1);/^(se|s|e)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l):/^(ne)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l):/^(sw)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.left=h.left-k):(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l,d.position.left=h.left-k)}});var c=<span class="keyword">function</span>(a){<span class="keywordflow">return</span> parseInt(a,10)||0},d=<span class="keyword">function</span>(a){<span class="keywordflow">return</span>!isNaN(parseInt(a,10))}}(jQuery),<span class="keyword">function</span>(a,b){a.widget(<span class="stringliteral">&quot;ui.selectable&quot;</span>,a.ui.mouse,{options:{appendTo:<span class="stringliteral">&quot;body&quot;</span>,autoRefresh:!0,distance:0,filter:<span class="stringliteral">&quot;*&quot;</span>,tolerance:<span class="stringliteral">&quot;touch&quot;</span>},_create:<span class="keyword">function</span>(){var b=<span class="keyword">this</span>;this.element.addClass(<span class="stringliteral">&quot;ui-selectable&quot;</span>),this.dragged=!1;var c;this.refresh=<span class="keyword">function</span>(){c=a(b.options.filter,b.element[0]),c.addClass(<span class="stringliteral">&quot;ui-selectee&quot;</span>),c.each(<span class="keyword">function</span>(){var b=a(<span class="keyword">this</span>),c=b.offset();a.data(<span class="keyword">this</span>,<span class="stringliteral">&quot;selectable-item&quot;</span>,{element:<span class="keyword">this</span>,$element:b,left:c.left,top:c.top,right:c.left+b.outerWidth(),bottom:c.top+b.outerHeight(),startselected:!1,selected:b.hasClass(<span class="stringliteral">&quot;ui-selected&quot;</span>),selecting:b.hasClass(<span class="stringliteral">&quot;ui-selecting&quot;</span>),unselecting:b.hasClass(<span class="stringliteral">&quot;ui-unselecting&quot;</span>)})})},this.refresh(),this.selectees=c.addClass(<span class="stringliteral">&quot;ui-selectee&quot;</span>),this._mouseInit(),this.helper=a(<span class="stringliteral">&quot;&lt;div class=&#39;ui-selectable-helper&#39;&gt;&lt;/div&gt;&quot;</span>)},destroy:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.selectees.removeClass(<span class="stringliteral">&quot;ui-selectee&quot;</span>).removeData(<span class="stringliteral">&quot;selectable-item&quot;</span>),this.element.removeClass(<span class="stringliteral">&quot;ui-selectable ui-selectable-disabled&quot;</span>).removeData(<span class="stringliteral">&quot;selectable&quot;</span>).unbind(<span class="stringliteral">&quot;.selectable&quot;</span>),this._mouseDestroy(),<span class="keyword">this</span>},_mouseStart:<span class="keyword">function</span>(b){var c=<span class="keyword">this</span>;this.opos=[b.pageX,b.pageY];<span class="keywordflow">if</span>(this.options.disabled)<span class="keywordflow">return</span>;var d=this.options;this.selectees=a(d.filter,<span class="keyword">this</span>.element[0]),this._trigger(<span class="stringliteral">&quot;start&quot;</span>,b),a(d.appendTo).append(this.helper),this.helper.css({left:b.clientX,top:b.clientY,width:0,height:0}),d.autoRefresh&amp;&amp;<span class="keyword">this</span>.refresh(),this.selectees.filter(<span class="stringliteral">&quot;.ui-selected&quot;</span>).each(<span class="keyword">function</span>(){var d=a.data(<span class="keyword">this</span>,<span class="stringliteral">&quot;selectable-item&quot;</span>);d.startselected=!0,!b.metaKey&amp;&amp;!b.ctrlKey&amp;&amp;(d.$element.removeClass(<span class="stringliteral">&quot;ui-selected&quot;</span>),d.selected=!1,d.$element.addClass(<span class="stringliteral">&quot;ui-unselecting&quot;</span>),d.unselecting=!0,c._trigger(<span class="stringliteral">&quot;unselecting&quot;</span>,b,{unselecting:d.element}))}),a(b.target).parents().andSelf().each(<span class="keyword">function</span>(){var d=a.data(<span class="keyword">this</span>,<span class="stringliteral">&quot;selectable-item&quot;</span>);<span class="keywordflow">if</span>(d){var e=!b.metaKey&amp;&amp;!b.ctrlKey||!d.$element.hasClass(<span class="stringliteral">&quot;ui-selected&quot;</span>);<span class="keywordflow">return</span> d.$element.removeClass(e?<span class="stringliteral">&quot;ui-unselecting&quot;</span>:<span class="stringliteral">&quot;ui-selected&quot;</span>).addClass(e?<span class="stringliteral">&quot;ui-selecting&quot;</span>:<span class="stringliteral">&quot;ui-unselecting&quot;</span>),d.unselecting=!e,d.selecting=e,d.selected=e,e?c._trigger(<span class="stringliteral">&quot;selecting&quot;</span>,b,{selecting:d.element}):c._trigger(<span class="stringliteral">&quot;unselecting&quot;</span>,b,{unselecting:d.element}),!1}})},_mouseDrag:<span class="keyword">function</span>(b){var c=<span class="keyword">this</span>;this.dragged=!0;<span class="keywordflow">if</span>(this.options.disabled)<span class="keywordflow">return</span>;var d=this.options,e=this.opos[0],f=this.opos[1],g=b.pageX,h=b.pageY;<span class="keywordflow">if</span>(e&gt;g){var i=g;g=e,e=i}<span class="keywordflow">if</span>(f&gt;h){var i=h;h=f,f=i}<span class="keywordflow">return</span> this.helper.css({left:e,top:f,width:g-e,height:h-f}),this.selectees.each(<span class="keyword">function</span>(){var i=a.data(<span class="keyword">this</span>,<span class="stringliteral">&quot;selectable-item&quot;</span>);<span class="keywordflow">if</span>(!i||i.element==c.element[0])<span class="keywordflow">return</span>;var j=!1;d.tolerance==<span class="stringliteral">&quot;touch&quot;</span>?j=!(i.left&gt;g||i.right&lt;e||i.top&gt;h||i.bottom&lt;f):d.tolerance==<span class="stringliteral">&quot;fit&quot;</span>&amp;&amp;(j=i.left&gt;e&amp;&amp;i.right&lt;g&amp;&amp;i.top&gt;f&amp;&amp;i.bottom&lt;h),j?(i.selected&amp;&amp;(i.$element.removeClass(<span class="stringliteral">&quot;ui-selected&quot;</span>),i.selected=!1),i.unselecting&amp;&amp;(i.$element.removeClass(<span class="stringliteral">&quot;ui-unselecting&quot;</span>),i.unselecting=!1),i.selecting||(i.$element.addClass(<span class="stringliteral">&quot;ui-selecting&quot;</span>),i.selecting=!0,c._trigger(<span class="stringliteral">&quot;selecting&quot;</span>,b,{selecting:i.element}))):(i.selecting&amp;&amp;((b.metaKey||b.ctrlKey)&amp;&amp;i.startselected?(i.$element.removeClass(<span class="stringliteral">&quot;ui-selecting&quot;</span>),i.selecting=!1,i.$element.addClass(<span class="stringliteral">&quot;ui-selected&quot;</span>),i.selected=!0):(i.$element.removeClass(<span class="stringliteral">&quot;ui-selecting&quot;</span>),i.selecting=!1,i.startselected&amp;&amp;(i.$element.addClass(<span class="stringliteral">&quot;ui-unselecting&quot;</span>),i.unselecting=!0),c._trigger(<span class="stringliteral">&quot;unselecting&quot;</span>,b,{unselecting:i.element}))),i.selected&amp;&amp;!b.metaKey&amp;&amp;!b.ctrlKey&amp;&amp;!i.startselected&amp;&amp;(i.$element.removeClass(<span class="stringliteral">&quot;ui-selected&quot;</span>),i.selected=!1,i.$element.addClass(<span class="stringliteral">&quot;ui-unselecting&quot;</span>),i.unselecting=!0,c._trigger(<span class="stringliteral">&quot;unselecting&quot;</span>,b,{unselecting:i.element})))}),!1},_mouseStop:<span class="keyword">function</span>(b){var c=<span class="keyword">this</span>;this.dragged=!1;var d=this.options;<span class="keywordflow">return</span> a(<span class="stringliteral">&quot;.ui-unselecting&quot;</span>,this.element[0]).each(<span class="keyword">function</span>(){var d=a.data(<span class="keyword">this</span>,<span class="stringliteral">&quot;selectable-item&quot;</span>);d.$element.removeClass(<span class="stringliteral">&quot;ui-unselecting&quot;</span>),d.unselecting=!1,d.startselected=!1,c._trigger(<span class="stringliteral">&quot;unselected&quot;</span>,b,{unselected:d.element})}),a(<span class="stringliteral">&quot;.ui-selecting&quot;</span>,this.element[0]).each(<span class="keyword">function</span>(){var d=a.data(<span class="keyword">this</span>,<span class="stringliteral">&quot;selectable-item&quot;</span>);d.$element.removeClass(<span class="stringliteral">&quot;ui-selecting&quot;</span>).addClass(<span class="stringliteral">&quot;ui-selected&quot;</span>),d.selecting=!1,d.selected=!0,d.startselected=!0,c._trigger(<span class="stringliteral">&quot;selected&quot;</span>,b,{selected:d.element})}),this._trigger(<span class="stringliteral">&quot;stop&quot;</span>,b),this.helper.remove(),!1}}),a.extend(a.ui.selectable,{version:<span class="stringliteral">&quot;1.8.20&quot;</span>})}(jQuery),<span class="keyword">function</span>(a,b){a.widget(<span class="stringliteral">&quot;ui.sortable&quot;</span>,a.ui.mouse,{widgetEventPrefix:<span class="stringliteral">&quot;sort&quot;</span>,ready:!1,options:{appendTo:<span class="stringliteral">&quot;parent&quot;</span>,axis:!1,connectWith:!1,containment:!1,cursor:<span class="stringliteral">&quot;auto&quot;</span>,cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:<span class="stringliteral">&quot;original&quot;</span>,items:<span class="stringliteral">&quot;&gt; *&quot;</span>,opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:<span class="stringliteral">&quot;default&quot;</span>,tolerance:<span class="stringliteral">&quot;intersect&quot;</span>,zIndex:1e3},_create:<span class="keyword">function</span>(){var a=this.options;this.containerCache={},this.element.addClass(<span class="stringliteral">&quot;ui-sortable&quot;</span>),this.refresh(),this.floating=this.items.length?a.axis===<span class="stringliteral">&quot;x&quot;</span>||/left|right/.test(this.items[0].item.css(<span class="stringliteral">&quot;float&quot;</span>))||/<span class="keyword">inline</span>|table-cell/.test(this.items[0].item.css(<span class="stringliteral">&quot;display&quot;</span>)):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},destroy:<span class="keyword">function</span>(){a.Widget.prototype.destroy.call(<span class="keyword">this</span>),this.element.removeClass(<span class="stringliteral">&quot;ui-sortable ui-sortable-disabled&quot;</span>),this._mouseDestroy();<span class="keywordflow">for</span>(var b=this.items.length-1;b&gt;=0;b--)this.items[b].item.removeData(this.widgetName+<span class="stringliteral">&quot;-item&quot;</span>);<span class="keywordflow">return</span> <span class="keyword">this</span>},_setOption:<span class="keyword">function</span>(b,c){b===<span class="stringliteral">&quot;disabled&quot;</span>?(this.options[b]=c,this.widget()[c?<span class="stringliteral">&quot;addClass&quot;</span>:<span class="stringliteral">&quot;removeClass&quot;</span>](<span class="stringliteral">&quot;ui-sortable-disabled&quot;</span>)):a.Widget.prototype._setOption.apply(<span class="keyword">this</span>,arguments)},_mouseCapture:<span class="keyword">function</span>(b,c){var d=<span class="keyword">this</span>;<span class="keywordflow">if</span>(this.reverting)<span class="keywordflow">return</span>!1;<span class="keywordflow">if</span>(this.options.disabled||<span class="keyword">this</span>.options.type==<span class="stringliteral">&quot;static&quot;</span>)<span class="keywordflow">return</span>!1;this._refreshItems(b);var e=null,f=<span class="keyword">this</span>,g=a(b.target).parents().each(<span class="keyword">function</span>(){<span class="keywordflow">if</span>(a.data(<span class="keyword">this</span>,d.widgetName+<span class="stringliteral">&quot;-item&quot;</span>)==f)<span class="keywordflow">return</span> e=a(<span class="keyword">this</span>),!1});a.data(b.target,d.widgetName+<span class="stringliteral">&quot;-item&quot;</span>)==f&amp;&amp;(e=a(b.target));<span class="keywordflow">if</span>(!e)<span class="keywordflow">return</span>!1;<span class="keywordflow">if</span>(this.options.handle&amp;&amp;!c){var h=!1;a(this.options.handle,e).find(<span class="stringliteral">&quot;*&quot;</span>).andSelf().each(<span class="keyword">function</span>(){<span class="keyword">this</span>==b.target&amp;&amp;(h=!0)});<span class="keywordflow">if</span>(!h)<span class="keywordflow">return</span>!1}<span class="keywordflow">return</span> this.currentItem=e,this._removeCurrentsFromItems(),!0},_mouseStart:<span class="keyword">function</span>(b,c,d){var e=this.options,f=<span class="keyword">this</span>;this.currentContainer=<span class="keyword">this</span>,this.refreshPositions(),this.helper=this._createHelper(b),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.helper.css(<span class="stringliteral">&quot;position&quot;</span>,<span class="stringliteral">&quot;absolute&quot;</span>),this.cssPosition=this.helper.css(<span class="stringliteral">&quot;position&quot;</span>),a.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this._generatePosition(b),this.originalPageX=b.pageX,this.originalPageY=b.pageY,e.cursorAt&amp;&amp;this._adjustOffsetFromHelper(e.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&amp;&amp;this.currentItem.hide(),this._createPlaceholder(),e.containment&amp;&amp;this._setContainment(),e.cursor&amp;&amp;(a(<span class="stringliteral">&quot;body&quot;</span>).css(<span class="stringliteral">&quot;cursor&quot;</span>)&amp;&amp;(this._storedCursor=a(<span class="stringliteral">&quot;body&quot;</span>).css(<span class="stringliteral">&quot;cursor&quot;</span>)),a(<span class="stringliteral">&quot;body&quot;</span>).css(<span class="stringliteral">&quot;cursor&quot;</span>,e.cursor)),e.opacity&amp;&amp;(<span class="keyword">this</span>.helper.css(<span class="stringliteral">&quot;opacity&quot;</span>)&amp;&amp;(this._storedOpacity=this.helper.css(<span class="stringliteral">&quot;opacity&quot;</span>)),this.helper.css(<span class="stringliteral">&quot;opacity&quot;</span>,e.opacity)),e.zIndex&amp;&amp;(<span class="keyword">this</span>.helper.css(<span class="stringliteral">&quot;zIndex&quot;</span>)&amp;&amp;(this._storedZIndex=this.helper.css(<span class="stringliteral">&quot;zIndex&quot;</span>)),this.helper.css(<span class="stringliteral">&quot;zIndex&quot;</span>,e.zIndex)),this.scrollParent[0]!=document&amp;&amp;this.scrollParent[0].tagName!=<span class="stringliteral">&quot;HTML&quot;</span>&amp;&amp;(this.overflowOffset=this.scrollParent.offset()),this._trigger(<span class="stringliteral">&quot;start&quot;</span>,b,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();<span class="keywordflow">if</span>(!d)<span class="keywordflow">for</span>(var g=this.containers.length-1;g&gt;=0;g--)this.containers[g]._trigger(<span class="stringliteral">&quot;activate&quot;</span>,b,f._uiHash(<span class="keyword">this</span>));<span class="keywordflow">return</span> a.ui.ddmanager&amp;&amp;(a.ui.ddmanager.current=<span class="keyword">this</span>),a.ui.ddmanager&amp;&amp;!e.dropBehaviour&amp;&amp;a.ui.ddmanager.prepareOffsets(<span class="keyword">this</span>,b),this.dragging=!0,this.helper.addClass(<span class="stringliteral">&quot;ui-sortable-helper&quot;</span>),this._mouseDrag(b),!0},_mouseDrag:<span class="keyword">function</span>(b){this.position=this._generatePosition(b),this.positionAbs=this._convertPositionTo(<span class="stringliteral">&quot;absolute&quot;</span>),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);<span class="keywordflow">if</span>(this.options.scroll){var c=this.options,d=!1;this.scrollParent[0]!=document&amp;&amp;this.scrollParent[0].tagName!=<span class="stringliteral">&quot;HTML&quot;</span>?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-b.pageY&lt;c.scrollSensitivity?this.scrollParent[0].scrollTop=d=this.scrollParent[0].scrollTop+c.scrollSpeed:b.pageY-this.overflowOffset.top&lt;c.scrollSensitivity&amp;&amp;(this.scrollParent[0].scrollTop=d=this.scrollParent[0].scrollTop-c.scrollSpeed),this.overflowOffset.left+<span class="keyword">this</span>.scrollParent[0].offsetWidth-b.pageX&lt;c.scrollSensitivity?<span class="keyword">this</span>.scrollParent[0].scrollLeft=d=<span class="keyword">this</span>.scrollParent[0].scrollLeft+c.scrollSpeed:b.pageX-<span class="keyword">this</span>.overflowOffset.left&lt;c.scrollSensitivity&amp;&amp;(<span class="keyword">this</span>.scrollParent[0].scrollLeft=d=<span class="keyword">this</span>.scrollParent[0].scrollLeft-c.scrollSpeed)):(b.pageY-a(document).scrollTop()&lt;c.scrollSensitivity?d=a(document).scrollTop(a(document).scrollTop()-c.scrollSpeed):a(window).height()-(b.pageY-a(document).scrollTop())&lt;c.scrollSensitivity&amp;&amp;(d=a(document).scrollTop(a(document).scrollTop()+c.scrollSpeed)),b.pageX-a(document).scrollLeft()&lt;c.scrollSensitivity?d=a(document).scrollLeft(a(document).scrollLeft()-c.scrollSpeed):a(window).width()-(b.pageX-a(document).scrollLeft())&lt;c.scrollSensitivity&amp;&amp;(d=a(document).scrollLeft(a(document).scrollLeft()+c.scrollSpeed))),d!==!1&amp;&amp;a.ui.ddmanager&amp;&amp;!c.dropBehaviour&amp;&amp;a.ui.ddmanager.prepareOffsets(<span class="keyword">this</span>,b)}this.positionAbs=this._convertPositionTo(<span class="stringliteral">&quot;absolute&quot;</span>);<span class="keywordflow">if</span>(!this.options.axis||<span class="keyword">this</span>.options.axis!=<span class="stringliteral">&quot;y&quot;</span>)this.helper[0].style.left=this.position.left+<span class="stringliteral">&quot;px&quot;</span>;<span class="keywordflow">if</span>(!this.options.axis||<span class="keyword">this</span>.options.axis!=<span class="stringliteral">&quot;x&quot;</span>)this.helper[0].style.top=this.position.top+<span class="stringliteral">&quot;px&quot;</span>;<span class="keywordflow">for</span>(var e=this.items.length-1;e&gt;=0;e--){var f=this.items[e],g=f.item[0],h=this._intersectsWithPointer(f);<span class="keywordflow">if</span>(!h)<span class="keywordflow">continue</span>;<span class="keywordflow">if</span>(g!=this.currentItem[0]&amp;&amp;this.placeholder[h==1?<span class="stringliteral">&quot;next&quot;</span>:<span class="stringliteral">&quot;prev&quot;</span>]()[0]!=g&amp;&amp;!a.ui.contains(<span class="keyword">this</span>.placeholder[0],g)&amp;&amp;(this.options.type==<span class="stringliteral">&quot;semi-dynamic&quot;</span>?!a.ui.contains(this.element[0],g):!0)){this.direction=h==1?<span class="stringliteral">&quot;down&quot;</span>:<span class="stringliteral">&quot;up&quot;</span>;<span class="keywordflow">if</span>(this.options.tolerance==<span class="stringliteral">&quot;pointer&quot;</span>||<span class="keyword">this</span>._intersectsWithSides(f))this._rearrange(b,f);<span class="keywordflow">else</span> <span class="keywordflow">break</span>;this._trigger(<span class="stringliteral">&quot;change&quot;</span>,b,this._uiHash());<span class="keywordflow">break</span>}}<span class="keywordflow">return</span> this._contactContainers(b),a.ui.ddmanager&amp;&amp;a.ui.ddmanager.drag(<span class="keyword">this</span>,b),this._trigger(<span class="stringliteral">&quot;sort&quot;</span>,b,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:<span class="keyword">function</span>(b,c){<span class="keywordflow">if</span>(!b)<span class="keywordflow">return</span>;a.ui.ddmanager&amp;&amp;!this.options.dropBehaviour&amp;&amp;a.ui.ddmanager.drop(<span class="keyword">this</span>,b);<span class="keywordflow">if</span>(this.options.revert){var d=<span class="keyword">this</span>,e=d.placeholder.offset();d.reverting=!0,a(this.helper).animate({left:e.left-this.offset.parent.left-d.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:e.top-<span class="keyword">this</span>.offset.parent.top-d.margins.top+(<span class="keyword">this</span>.offsetParent[0]==document.body?0:<span class="keyword">this</span>.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,<span class="keyword">function</span>(){d._clear(b)})}<span class="keywordflow">else</span> this._clear(b,c);<span class="keywordflow">return</span>!1},cancel:<span class="keyword">function</span>(){var b=<span class="keyword">this</span>;<span class="keywordflow">if</span>(this.dragging){this._mouseUp({target:null}),this.options.helper==<span class="stringliteral">&quot;original&quot;</span>?<span class="keyword">this</span>.currentItem.css(<span class="keyword">this</span>._storedCSS).removeClass(<span class="stringliteral">&quot;ui-sortable-helper&quot;</span>):this.currentItem.show();<span class="keywordflow">for</span>(var c=this.containers.length-1;c&gt;=0;c--)this.containers[c]._trigger(<span class="stringliteral">&quot;deactivate&quot;</span>,null,b._uiHash(<span class="keyword">this</span>)),this.containers[c].containerCache.over&amp;&amp;(<span class="keyword">this</span>.containers[c]._trigger(<span class="stringliteral">&quot;out&quot;</span>,null,b._uiHash(<span class="keyword">this</span>)),this.containers[c].containerCache.over=0)}<span class="keywordflow">return</span> this.placeholder&amp;&amp;(this.placeholder[0].parentNode&amp;&amp;this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!=<span class="stringliteral">&quot;original&quot;</span>&amp;&amp;this.helper&amp;&amp;this.helper[0].parentNode&amp;&amp;this.helper.remove(),a.extend(<span class="keyword">this</span>,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?a(this.domPosition.prev).after(this.currentItem):a(this.domPosition.parent).prepend(this.currentItem)),<span class="keyword">this</span>},serialize:<span class="keyword">function</span>(b){var c=this._getItemsAsjQuery(b&amp;&amp;b.connected),d=[];<span class="keywordflow">return</span> b=b||{},a(c).each(<span class="keyword">function</span>(){var c=(a(b.item||<span class="keyword">this</span>).attr(b.attribute||<span class="stringliteral">&quot;id&quot;</span>)||<span class="stringliteral">&quot;&quot;</span>).match(b.expression||/(.+)[-=_](.+)/);c&amp;&amp;d.push((b.key||c[1]+<span class="stringliteral">&quot;[]&quot;</span>)+<span class="stringliteral">&quot;=&quot;</span>+(b.key&amp;&amp;b.expression?c[1]:c[2]))}),!d.length&amp;&amp;b.key&amp;&amp;d.push(b.key+<span class="stringliteral">&quot;=&quot;</span>),d.join(<span class="stringliteral">&quot;&amp;&quot;</span>)},toArray:<span class="keyword">function</span>(b){var c=this._getItemsAsjQuery(b&amp;&amp;b.connected),d=[];<span class="keywordflow">return</span> b=b||{},c.each(<span class="keyword">function</span>(){d.push(a(b.item||<span class="keyword">this</span>).attr(b.attribute||<span class="stringliteral">&quot;id&quot;</span>)||<span class="stringliteral">&quot;&quot;</span>)}),d},_intersectsWith:<span class="keyword">function</span>(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,d=this.positionAbs.top,e=d+this.helperProportions.height,f=a.left,g=f+a.width,h=a.top,i=h+a.height,j=this.offset.click.top,k=this.offset.click.left,l=d+j&gt;h&amp;&amp;d+j&lt;i&amp;&amp;b+k&gt;f&amp;&amp;b+k&lt;g;<span class="keywordflow">return</span> this.options.tolerance==<span class="stringliteral">&quot;pointer&quot;</span>||this.options.forcePointerForContainers||this.options.tolerance!=<span class="stringliteral">&quot;pointer&quot;</span>&amp;&amp;this.helperProportions[this.floating?<span class="stringliteral">&quot;width&quot;</span>:<span class="stringliteral">&quot;height&quot;</span>]&gt;a[this.floating?<span class="stringliteral">&quot;width&quot;</span>:<span class="stringliteral">&quot;height&quot;</span>]?l:f&lt;b+this.helperProportions.width/2&amp;&amp;c-this.helperProportions.width/2&lt;g&amp;&amp;h&lt;d+this.helperProportions.height/2&amp;&amp;e-this.helperProportions.height/2&lt;i},_intersectsWithPointer:<span class="keyword">function</span>(b){var c=this.options.axis===<span class="stringliteral">&quot;x&quot;</span>||a.ui.isOverAxis(this.positionAbs.top+<span class="keyword">this</span>.offset.click.top,b.top,b.height),d=this.options.axis===<span class="stringliteral">&quot;y&quot;</span>||a.ui.isOverAxis(this.positionAbs.left+<span class="keyword">this</span>.offset.click.left,b.left,b.width),e=c&amp;&amp;d,f=this._getDragVerticalDirection(),g=this._getDragHorizontalDirection();<span class="keywordflow">return</span> e?this.floating?g&amp;&amp;g==<span class="stringliteral">&quot;right&quot;</span>||f==<span class="stringliteral">&quot;down&quot;</span>?2:1:f&amp;&amp;(f==<span class="stringliteral">&quot;down&quot;</span>?2:1):!1},_intersectsWithSides:<span class="keyword">function</span>(b){var c=a.ui.isOverAxis(this.positionAbs.top+<span class="keyword">this</span>.offset.click.top,b.top+b.height/2,b.height),d=a.ui.isOverAxis(this.positionAbs.left+<span class="keyword">this</span>.offset.click.left,b.left+b.width/2,b.width),e=this._getDragVerticalDirection(),f=this._getDragHorizontalDirection();<span class="keywordflow">return</span> this.floating&amp;&amp;f?f==<span class="stringliteral">&quot;right&quot;</span>&amp;&amp;d||f==<span class="stringliteral">&quot;left&quot;</span>&amp;&amp;!d:e&amp;&amp;(e==<span class="stringliteral">&quot;down&quot;</span>&amp;&amp;c||e==<span class="stringliteral">&quot;up&quot;</span>&amp;&amp;!c)},_getDragVerticalDirection:<span class="keyword">function</span>(){var a=this.positionAbs.top-this.lastPositionAbs.top;<span class="keywordflow">return</span> a!=0&amp;&amp;(a&gt;0?<span class="stringliteral">&quot;down&quot;</span>:<span class="stringliteral">&quot;up&quot;</span>)},_getDragHorizontalDirection:<span class="keyword">function</span>(){var a=this.positionAbs.left-this.lastPositionAbs.left;<span class="keywordflow">return</span> a!=0&amp;&amp;(a&gt;0?<span class="stringliteral">&quot;right&quot;</span>:<span class="stringliteral">&quot;left&quot;</span>)},refresh:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> this._refreshItems(a),this.refreshPositions(),<span class="keyword">this</span>},_connectWith:<span class="keyword">function</span>(){var a=this.options;<span class="keywordflow">return</span> a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:<span class="keyword">function</span>(b){var c=<span class="keyword">this</span>,d=[],e=[],f=this._connectWith();<span class="keywordflow">if</span>(f&amp;&amp;b)<span class="keywordflow">for</span>(var g=f.length-1;g&gt;=0;g--){var h=a(f[g]);<span class="keywordflow">for</span>(var i=h.length-1;i&gt;=0;i--){var j=a.data(h[i],this.widgetName);j&amp;&amp;j!=<span class="keyword">this</span>&amp;&amp;!j.options.disabled&amp;&amp;e.push([a.isFunction(j.options.items)?j.options.items.call(j.element):a(j.options.items,j.element).not(<span class="stringliteral">&quot;.ui-sortable-helper&quot;</span>).not(<span class="stringliteral">&quot;.ui-sortable-placeholder&quot;</span>),j])}}e.push([a.isFunction(<span class="keyword">this</span>.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):a(this.options.items,<span class="keyword">this</span>.element).not(<span class="stringliteral">&quot;.ui-sortable-helper&quot;</span>).not(<span class="stringliteral">&quot;.ui-sortable-placeholder&quot;</span>),<span class="keyword">this</span>]);<span class="keywordflow">for</span>(var g=e.length-1;g&gt;=0;g--)e[g][0].each(<span class="keyword">function</span>(){d.push(<span class="keyword">this</span>)});<span class="keywordflow">return</span> a(d)},_removeCurrentsFromItems:<span class="keyword">function</span>(){var a=this.currentItem.find(<span class="stringliteral">&quot;:data(&quot;</span>+this.widgetName+<span class="stringliteral">&quot;-item)&quot;</span>);<span class="keywordflow">for</span>(var b=0;b&lt;this.items.length;b++)<span class="keywordflow">for</span>(var c=0;c&lt;a.length;c++)a[c]==this.items[b].item[0]&amp;&amp;this.items.splice(b,1)},_refreshItems:<span class="keyword">function</span>(b){this.items=[],this.containers=[<span class="keyword">this</span>];var c=this.items,d=<span class="keyword">this</span>,e=[[a.isFunction(this.options.items)?this.options.items.call(this.element[0],b,{item:this.currentItem}):a(this.options.items,<span class="keyword">this</span>.element),<span class="keyword">this</span>]],f=this._connectWith();<span class="keywordflow">if</span>(f&amp;&amp;this.ready)<span class="keywordflow">for</span>(var g=f.length-1;g&gt;=0;g--){var h=a(f[g]);<span class="keywordflow">for</span>(var i=h.length-1;i&gt;=0;i--){var j=a.data(h[i],this.widgetName);j&amp;&amp;j!=<span class="keyword">this</span>&amp;&amp;!j.options.disabled&amp;&amp;(e.push([a.isFunction(j.options.items)?j.options.items.call(j.element[0],b,{item:<span class="keyword">this</span>.currentItem}):a(j.options.items,j.element),j]),this.containers.push(j))}}<span class="keywordflow">for</span>(var g=e.length-1;g&gt;=0;g--){var k=e[g][1],l=e[g][0];<span class="keywordflow">for</span>(var i=0,m=l.length;i&lt;m;i++){var n=a(l[i]);n.data(this.widgetName+<span class="stringliteral">&quot;-item&quot;</span>,k),c.push({item:n,instance:k,width:0,height:0,left:0,top:0})}}},refreshPositions:<span class="keyword">function</span>(b){this.offsetParent&amp;&amp;this.helper&amp;&amp;(this.offset.parent=this._getParentOffset());<span class="keywordflow">for</span>(var c=this.items.length-1;c&gt;=0;c--){var d=this.items[c];<span class="keywordflow">if</span>(d.instance!=<span class="keyword">this</span>.currentContainer&amp;&amp;<span class="keyword">this</span>.currentContainer&amp;&amp;d.item[0]!=<span class="keyword">this</span>.currentItem[0])<span class="keywordflow">continue</span>;var e=this.options.toleranceElement?a(this.options.toleranceElement,d.item):d.item;b||(d.width=e.outerWidth(),d.height=e.outerHeight());var f=e.offset();d.left=f.left,d.top=f.top}<span class="keywordflow">if</span>(this.options.custom&amp;&amp;<span class="keyword">this</span>.options.custom.refreshContainers)this.options.custom.refreshContainers.call(<span class="keyword">this</span>);<span class="keywordflow">else</span> <span class="keywordflow">for</span>(var c=this.containers.length-1;c&gt;=0;c--){var f=this.containers[c].element.offset();this.containers[c].containerCache.left=f.left,this.containers[c].containerCache.top=f.top,this.containers[c].containerCache.width=this.containers[c].element.outerWidth(),this.containers[c].containerCache.height=this.containers[c].element.outerHeight()}<span class="keywordflow">return</span> <span class="keyword">this</span>},_createPlaceholder:<span class="keyword">function</span>(b){var c=b||<span class="keyword">this</span>,d=c.options;<span class="keywordflow">if</span>(!d.placeholder||d.placeholder.constructor==String){var e=d.placeholder;d.placeholder={element:<span class="keyword">function</span>(){var b=a(document.createElement(c.currentItem[0].nodeName)).addClass(e||c.currentItem[0].className+<span class="stringliteral">&quot; ui-sortable-placeholder&quot;</span>).removeClass(<span class="stringliteral">&quot;ui-sortable-helper&quot;</span>)[0];<span class="keywordflow">return</span> e||(b.style.visibility=<span class="stringliteral">&quot;hidden&quot;</span>),b},update:<span class="keyword">function</span>(a,b){<span class="keywordflow">if</span>(e&amp;&amp;!d.forcePlaceholderSize)<span class="keywordflow">return</span>;b.height()||b.height(c.currentItem.innerHeight()-parseInt(c.currentItem.css(<span class="stringliteral">&quot;paddingTop&quot;</span>)||0,10)-parseInt(c.currentItem.css(<span class="stringliteral">&quot;paddingBottom&quot;</span>)||0,10)),b.width()||b.width(c.currentItem.innerWidth()-parseInt(c.currentItem.css(<span class="stringliteral">&quot;paddingLeft&quot;</span>)||0,10)-parseInt(c.currentItem.css(<span class="stringliteral">&quot;paddingRight&quot;</span>)||0,10))}}}c.placeholder=a(d.placeholder.element.call(c.element,c.currentItem)),c.currentItem.after(c.placeholder),d.placeholder.update(c,c.placeholder)},_contactContainers:<span class="keyword">function</span>(b){var c=null,d=null;<span class="keywordflow">for</span>(var e=this.containers.length-1;e&gt;=0;e--){<span class="keywordflow">if</span>(a.ui.contains(<span class="keyword">this</span>.currentItem[0],<span class="keyword">this</span>.containers[e].element[0]))<span class="keywordflow">continue</span>;<span class="keywordflow">if</span>(this._intersectsWith(this.containers[e].containerCache)){<span class="keywordflow">if</span>(c&amp;&amp;a.ui.contains(<span class="keyword">this</span>.containers[e].element[0],c.element[0]))<span class="keywordflow">continue</span>;c=this.containers[e],d=e}<span class="keywordflow">else</span> this.containers[e].containerCache.over&amp;&amp;(this.containers[e]._trigger(<span class="stringliteral">&quot;out&quot;</span>,b,this._uiHash(<span class="keyword">this</span>)),this.containers[e].containerCache.over=0)}<span class="keywordflow">if</span>(!c)<span class="keywordflow">return</span>;<span class="keywordflow">if</span>(this.containers.length===1)this.containers[d]._trigger(<span class="stringliteral">&quot;over&quot;</span>,b,this._uiHash(<span class="keyword">this</span>)),this.containers[d].containerCache.over=1;<span class="keywordflow">else</span> <span class="keywordflow">if</span>(this.currentContainer!=this.containers[d]){var f=1e4,g=null,h=this.positionAbs[this.containers[d].floating?<span class="stringliteral">&quot;left&quot;</span>:<span class="stringliteral">&quot;top&quot;</span>];<span class="keywordflow">for</span>(var i=this.items.length-1;i&gt;=0;i--){<span class="keywordflow">if</span>(!a.ui.contains(<span class="keyword">this</span>.containers[d].element[0],<span class="keyword">this</span>.items[i].item[0]))<span class="keywordflow">continue</span>;var j=this.items[i][this.containers[d].floating?<span class="stringliteral">&quot;left&quot;</span>:<span class="stringliteral">&quot;top&quot;</span>];Math.abs(j-h)&lt;f&amp;&amp;(f=Math.abs(j-h),g=this.items[i])}<span class="keywordflow">if</span>(!g&amp;&amp;!this.options.dropOnEmpty)return;this.currentContainer=this.containers[d],g?this._rearrange(b,g,null,!0):this._rearrange(b,null,this.containers[d].element,!0),this._trigger(&quot;change&quot;,b,this._uiHash()),this.containers[d]._trigger(&quot;change&quot;,b,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[d]._trigger(&quot;over&quot;,b,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(b){var c=this.options,d=a.isFunction(c.helper)?a(c.helper.apply(<span class="keyword">this</span>.element[0],[b,<span class="keyword">this</span>.currentItem])):c.helper==<span class="stringliteral">&quot;clone&quot;</span>?<span class="keyword">this</span>.currentItem.clone():this.currentItem;<span class="keywordflow">return</span> d.parents(<span class="stringliteral">&quot;body&quot;</span>).length||a(c.appendTo!=<span class="stringliteral">&quot;parent&quot;</span>?c.appendTo:<span class="keyword">this</span>.currentItem[0].parentNode)[0].appendChild(d[0]),d[0]==this.currentItem[0]&amp;&amp;(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css(<span class="stringliteral">&quot;position&quot;</span>),top:this.currentItem.css(<span class="stringliteral">&quot;top&quot;</span>),left:this.currentItem.css(<span class="stringliteral">&quot;left&quot;</span>)}),(d[0].style.width==<span class="stringliteral">&quot;&quot;</span>||c.forceHelperSize)&amp;&amp;d.width(this.currentItem.width()),(d[0].style.height==<span class="stringliteral">&quot;&quot;</span>||c.forceHelperSize)&amp;&amp;d.height(this.currentItem.height()),d},_adjustOffsetFromHelper:<span class="keyword">function</span>(b){typeof b==<span class="stringliteral">&quot;string&quot;</span>&amp;&amp;(b=b.split(<span class="stringliteral">&quot; &quot;</span>)),a.isArray(b)&amp;&amp;(b={left:+b[0],top:+b[1]||0}),<span class="stringliteral">&quot;left&quot;</span>in b&amp;&amp;(this.offset.click.left=b.left+<span class="keyword">this</span>.margins.left),<span class="stringliteral">&quot;right&quot;</span>in b&amp;&amp;(this.offset.click.left=this.helperProportions.width-b.right+this.margins.left),<span class="stringliteral">&quot;top&quot;</span>in b&amp;&amp;(this.offset.click.top=b.top+<span class="keyword">this</span>.margins.top),<span class="stringliteral">&quot;bottom&quot;</span>in b&amp;&amp;(this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top)},_getParentOffset:<span class="keyword">function</span>(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();this.cssPosition==<span class="stringliteral">&quot;absolute&quot;</span>&amp;&amp;this.scrollParent[0]!=document&amp;&amp;a.ui.contains(this.scrollParent[0],this.offsetParent[0])&amp;&amp;(b.left+=this.scrollParent.scrollLeft(),b.top+=this.scrollParent.scrollTop());<span class="keywordflow">if</span>(this.offsetParent[0]==document.body||<span class="keyword">this</span>.offsetParent[0].tagName&amp;&amp;<span class="keyword">this</span>.offsetParent[0].tagName.toLowerCase()==<span class="stringliteral">&quot;html&quot;</span>&amp;&amp;a.browser.msie)b={top:0,left:0};<span class="keywordflow">return</span>{top:b.top+(parseInt(this.offsetParent.css(<span class="stringliteral">&quot;borderTopWidth&quot;</span>),10)||0),left:b.left+(parseInt(this.offsetParent.css(<span class="stringliteral">&quot;borderLeftWidth&quot;</span>),10)||0)}},_getRelativeOffset:<span class="keyword">function</span>(){<span class="keywordflow">if</span>(this.cssPosition==<span class="stringliteral">&quot;relative&quot;</span>){var a=this.currentItem.position();<span class="keywordflow">return</span>{top:a.top-(parseInt(this.helper.css(<span class="stringliteral">&quot;top&quot;</span>),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css(<span class="stringliteral">&quot;left&quot;</span>),10)||0)+this.scrollParent.scrollLeft()}}<span class="keywordflow">return</span>{top:0,left:0}},_cacheMargins:<span class="keyword">function</span>(){this.margins={left:parseInt(this.currentItem.css(<span class="stringliteral">&quot;marginLeft&quot;</span>),10)||0,top:parseInt(this.currentItem.css(<span class="stringliteral">&quot;marginTop&quot;</span>),10)||0}},_cacheHelperProportions:<span class="keyword">function</span>(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:<span class="keyword">function</span>(){var b=this.options;b.containment==<span class="stringliteral">&quot;parent&quot;</span>&amp;&amp;(b.containment=this.helper[0].parentNode);<span class="keywordflow">if</span>(b.containment==<span class="stringliteral">&quot;document&quot;</span>||b.containment==<span class="stringliteral">&quot;window&quot;</span>)this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,a(b.containment==<span class="stringliteral">&quot;document&quot;</span>?document:window).width()-this.helperProportions.width-this.margins.left,(a(b.containment==<span class="stringliteral">&quot;document&quot;</span>?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-<span class="keyword">this</span>.margins.top];<span class="keywordflow">if</span>(!/^(document|window|parent)$/.test(b.containment)){var c=a(b.containment)[0],d=a(b.containment).offset(),e=a(c).css(<span class="stringliteral">&quot;overflow&quot;</span>)!=<span class="stringliteral">&quot;hidden&quot;</span>;this.containment=[d.left+(parseInt(a(c).css(<span class="stringliteral">&quot;borderLeftWidth&quot;</span>),10)||0)+(parseInt(a(c).css(<span class="stringliteral">&quot;paddingLeft&quot;</span>),10)||0)-this.margins.left,d.top+(parseInt(a(c).css(<span class="stringliteral">&quot;borderTopWidth&quot;</span>),10)||0)+(parseInt(a(c).css(<span class="stringliteral">&quot;paddingTop&quot;</span>),10)||0)-this.margins.top,d.left+(e?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(a(c).css(<span class="stringliteral">&quot;borderLeftWidth&quot;</span>),10)||0)-(parseInt(a(c).css(<span class="stringliteral">&quot;paddingRight&quot;</span>),10)||0)-this.helperProportions.width-<span class="keyword">this</span>.margins.left,d.top+(e?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(a(c).css(<span class="stringliteral">&quot;borderTopWidth&quot;</span>),10)||0)-(parseInt(a(c).css(<span class="stringliteral">&quot;paddingBottom&quot;</span>),10)||0)-this.helperProportions.height-<span class="keyword">this</span>.margins.top]}},_convertPositionTo:<span class="keyword">function</span>(b,c){c||(c=this.position);var d=b==<span class="stringliteral">&quot;absolute&quot;</span>?1:-1,e=this.options,f=this.cssPosition==<span class="stringliteral">&quot;absolute&quot;</span>&amp;&amp;(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=/(html|body)/i.test(f[0].tagName);<span class="keywordflow">return</span>{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(a.browser.safari&amp;&amp;this.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?0:(this.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?-this.scrollParent.scrollTop():g?0:f.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(a.browser.safari&amp;&amp;this.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?0:(this.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?-this.scrollParent.scrollLeft():g?0:f.scrollLeft())*d)}},_generatePosition:<span class="keyword">function</span>(b){var c=this.options,d=this.cssPosition==<span class="stringliteral">&quot;absolute&quot;</span>&amp;&amp;(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(d[0].tagName);this.cssPosition==<span class="stringliteral">&quot;relative&quot;</span>&amp;&amp;(this.scrollParent[0]==document||this.scrollParent[0]==this.offsetParent[0])&amp;&amp;(this.offset.relative=<span class="keyword">this</span>._getRelativeOffset());var f=b.pageX,g=b.pageY;<span class="keywordflow">if</span>(this.originalPosition){this.containment&amp;&amp;(b.pageX-this.offset.click.left&lt;this.containment[0]&amp;&amp;(f=this.containment[0]+this.offset.click.left),b.pageY-<span class="keyword">this</span>.offset.click.top&lt;<span class="keyword">this</span>.containment[1]&amp;&amp;(g=<span class="keyword">this</span>.containment[1]+<span class="keyword">this</span>.offset.click.top),b.pageX-this.offset.click.left&gt;this.containment[2]&amp;&amp;(f=this.containment[2]+this.offset.click.left),b.pageY-<span class="keyword">this</span>.offset.click.top&gt;<span class="keyword">this</span>.containment[3]&amp;&amp;(g=<span class="keyword">this</span>.containment[3]+<span class="keyword">this</span>.offset.click.top));<span class="keywordflow">if</span>(c.grid){var h=this.originalPageY+Math.round((g-this.originalPageY)/c.grid[1])*c.grid[1];g=this.containment?h-this.offset.click.top&lt;this.containment[1]||h-this.offset.click.top&gt;this.containment[3]?h-this.offset.click.top&lt;this.containment[1]?h+c.grid[1]:h-c.grid[1]:h:h;var i=this.originalPageX+Math.round((f-this.originalPageX)/c.grid[0])*c.grid[0];f=this.containment?i-this.offset.click.left&lt;this.containment[0]||i-this.offset.click.left&gt;this.containment[2]?i-this.offset.click.left&lt;this.containment[0]?i+c.grid[0]:i-c.grid[0]:i:i}}<span class="keywordflow">return</span>{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&amp;&amp;this.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?0:this.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?-this.scrollParent.scrollTop():e?0:d.scrollTop()),left:f-this.offset.click.left-<span class="keyword">this</span>.offset.relative.left-<span class="keyword">this</span>.offset.parent.left+(a.browser.safari&amp;&amp;<span class="keyword">this</span>.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?0:<span class="keyword">this</span>.cssPosition==<span class="stringliteral">&quot;fixed&quot;</span>?-<span class="keyword">this</span>.scrollParent.scrollLeft():e?0:d.scrollLeft())}},_rearrange:<span class="keyword">function</span>(a,b,c,d){c?c[0].appendChild(this.placeholder[0]):b.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==<span class="stringliteral">&quot;down&quot;</span>?b.item[0]:b.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var e=<span class="keyword">this</span>,f=this.counter;window.setTimeout(<span class="keyword">function</span>(){f==e.counter&amp;&amp;e.refreshPositions(!d)},0)},_clear:<span class="keyword">function</span>(b,c){this.reverting=!1;var d=[],e=<span class="keyword">this</span>;!this._noFinalSort&amp;&amp;this.currentItem.parent().length&amp;&amp;this.placeholder.before(this.currentItem),this._noFinalSort=null;<span class="keywordflow">if</span>(this.helper[0]==this.currentItem[0]){<span class="keywordflow">for</span>(var f in this._storedCSS)<span class="keywordflow">if</span>(this._storedCSS[f]==<span class="stringliteral">&quot;auto&quot;</span>||this._storedCSS[f]==<span class="stringliteral">&quot;static&quot;</span>)this._storedCSS[f]=<span class="stringliteral">&quot;&quot;</span>;this.currentItem.css(this._storedCSS).removeClass(<span class="stringliteral">&quot;ui-sortable-helper&quot;</span>)}<span class="keywordflow">else</span> this.currentItem.show();this.fromOutside&amp;&amp;!c&amp;&amp;d.push(<span class="keyword">function</span>(a){this._trigger(<span class="stringliteral">&quot;receive&quot;</span>,a,this._uiHash(this.fromOutside))}),(this.fromOutside||this.domPosition.prev!=<span class="keyword">this</span>.currentItem.prev().not(<span class="stringliteral">&quot;.ui-sortable-helper&quot;</span>)[0]||this.domPosition.parent!=this.currentItem.parent()[0])&amp;&amp;!c&amp;&amp;d.push(<span class="keyword">function</span>(a){<span class="keyword">this</span>._trigger(<span class="stringliteral">&quot;update&quot;</span>,a,<span class="keyword">this</span>._uiHash())});<span class="keywordflow">if</span>(!a.ui.contains(<span class="keyword">this</span>.element[0],<span class="keyword">this</span>.currentItem[0])){c||d.push(<span class="keyword">function</span>(a){this._trigger(<span class="stringliteral">&quot;remove&quot;</span>,a,this._uiHash())});<span class="keywordflow">for</span>(var f=this.containers.length-1;f&gt;=0;f--)a.ui.contains(this.containers[f].element[0],this.currentItem[0])&amp;&amp;!c&amp;&amp;(d.push(<span class="keyword">function</span>(a){<span class="keywordflow">return</span> <span class="keyword">function</span>(b){a._trigger(<span class="stringliteral">&quot;receive&quot;</span>,b,this._uiHash(<span class="keyword">this</span>))}}.call(<span class="keyword">this</span>,this.containers[f])),d.push(<span class="keyword">function</span>(a){<span class="keywordflow">return</span> <span class="keyword">function</span>(b){a._trigger(<span class="stringliteral">&quot;update&quot;</span>,b,<span class="keyword">this</span>._uiHash(<span class="keyword">this</span>))}}.call(<span class="keyword">this</span>,this.containers[f])))}<span class="keywordflow">for</span>(var f=this.containers.length-1;f&gt;=0;f--)c||d.push(<span class="keyword">function</span>(a){<span class="keywordflow">return</span> <span class="keyword">function</span>(b){a._trigger(<span class="stringliteral">&quot;deactivate&quot;</span>,b,this._uiHash(<span class="keyword">this</span>))}}.call(<span class="keyword">this</span>,this.containers[f])),this.containers[f].containerCache.over&amp;&amp;(d.push(<span class="keyword">function</span>(a){<span class="keywordflow">return</span> <span class="keyword">function</span>(b){a._trigger(<span class="stringliteral">&quot;out&quot;</span>,b,<span class="keyword">this</span>._uiHash(<span class="keyword">this</span>))}}.call(<span class="keyword">this</span>,this.containers[f])),this.containers[f].containerCache.over=0);this._storedCursor&amp;&amp;a(<span class="stringliteral">&quot;body&quot;</span>).css(<span class="stringliteral">&quot;cursor&quot;</span>,this._storedCursor),this._storedOpacity&amp;&amp;this.helper.css(<span class="stringliteral">&quot;opacity&quot;</span>,this._storedOpacity),this._storedZIndex&amp;&amp;this.helper.css(<span class="stringliteral">&quot;zIndex&quot;</span>,this._storedZIndex==<span class="stringliteral">&quot;auto&quot;</span>?<span class="stringliteral">&quot;&quot;</span>:this._storedZIndex),this.dragging=!1;<span class="keywordflow">if</span>(this.cancelHelperRemoval){<span class="keywordflow">if</span>(!c){this._trigger(<span class="stringliteral">&quot;beforeStop&quot;</span>,b,this._uiHash());<span class="keywordflow">for</span>(var f=0;f&lt;d.length;f++)d[f].call(<span class="keyword">this</span>,b);this._trigger(<span class="stringliteral">&quot;stop&quot;</span>,b,this._uiHash())}<span class="keywordflow">return</span>!1}c||this._trigger(<span class="stringliteral">&quot;beforeStop&quot;</span>,b,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!=this.currentItem[0]&amp;&amp;this.helper.remove(),this.helper=null;<span class="keywordflow">if</span>(!c){<span class="keywordflow">for</span>(var f=0;f&lt;d.length;f++)d[f].call(<span class="keyword">this</span>,b);this._trigger(<span class="stringliteral">&quot;stop&quot;</span>,b,this._uiHash())}<span class="keywordflow">return</span> this.fromOutside=!1,!0},_trigger:<span class="keyword">function</span>(){a.Widget.prototype._trigger.apply(<span class="keyword">this</span>,arguments)===!1&amp;&amp;this.cancel()},_uiHash:<span class="keyword">function</span>(b){var c=b||<span class="keyword">this</span>;<span class="keywordflow">return</span>{helper:c.helper,placeholder:c.placeholder||a([]),position:c.position,originalPosition:c.originalPosition,offset:c.positionAbs,item:c.currentItem,sender:b?b.element:null}}}),a.extend(a.ui.sortable,{version:<span class="stringliteral">&quot;1.8.20&quot;</span>})}(jQuery),jQuery.effects||<span class="keyword">function</span>(a,b){<span class="keyword">function</span> c(b){var c;<span class="keywordflow">return</span> b&amp;&amp;b.constructor==Array&amp;&amp;b.length==3?b:(c=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(b))?[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10)]:(c=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(b))?[parseFloat(c[1])*2.55,parseFloat(c[2])*2.55,parseFloat(c[3])*2.55]:(c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(b))?[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)]:(c=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(b))?[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]:(c=/rgba\(0, 0, 0, 0\)/.exec(b))?e.transparent:e[a.trim(b).toLowerCase()]}<span class="keyword">function</span> d(b,d){var e;<span class="keywordflow">do</span>{e=a.curCSS(b,d);<span class="keywordflow">if</span>(e!=<span class="stringliteral">&quot;&quot;</span>&amp;&amp;e!=<span class="stringliteral">&quot;transparent&quot;</span>||a.nodeName(b,<span class="stringliteral">&quot;body&quot;</span>))<span class="keywordflow">break</span>;d=<span class="stringliteral">&quot;backgroundColor&quot;</span>}<span class="keywordflow">while</span>(b=b.parentNode);<span class="keywordflow">return</span> c(e)}<span class="keyword">function</span> h(){var a=document.defaultView?document.defaultView.getComputedStyle(<span class="keyword">this</span>,null):this.currentStyle,b={},c,d;<span class="keywordflow">if</span>(a&amp;&amp;a.length&amp;&amp;a[0]&amp;&amp;a[a[0]]){var e=a.length;<span class="keywordflow">while</span>(e--)c=a[e],typeof a[c]==<span class="stringliteral">&quot;string&quot;</span>&amp;&amp;(d=c.replace(/\-(\w)/g,<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span> b.toUpperCase()}),b[d]=a[c])}<span class="keywordflow">else</span> <span class="keywordflow">for</span>(c in a)typeof a[c]==<span class="stringliteral">&quot;string&quot;</span>&amp;&amp;(b[c]=a[c]);<span class="keywordflow">return</span> b}<span class="keyword">function</span> i(b){var c,d;<span class="keywordflow">for</span>(c in b)d=b[c],(d==null||a.isFunction(d)||c in g||/scrollbar/.test(c)||!/color/i.test(c)&amp;&amp;isNaN(parseFloat(d)))&amp;&amp;<span class="keyword">delete</span> b[c];<span class="keywordflow">return</span> b}<span class="keyword">function</span> j(a,b){var c={_:0},d;<span class="keywordflow">for</span>(d in b)a[d]!=b[d]&amp;&amp;(c[d]=b[d]);<span class="keywordflow">return</span> c}<span class="keyword">function</span> k(b,c,d,e){typeof b==<span class="stringliteral">&quot;object&quot;</span>&amp;&amp;(e=c,d=null,c=b,b=c.effect),a.isFunction(c)&amp;&amp;(e=c,d=null,c={});<span class="keywordflow">if</span>(typeof c==<span class="stringliteral">&quot;number&quot;</span>||a.fx.speeds[c])e=d,d=c,c={};<span class="keywordflow">return</span> a.isFunction(d)&amp;&amp;(e=d,d=null),c=c||{},d=d||c.duration,d=a.fx.off?0:typeof d==<span class="stringliteral">&quot;number&quot;</span>?d:d in a.fx.speeds?a.fx.speeds[d]:a.fx.speeds._default,e=e||c.complete,[b,c,d,e]}<span class="keyword">function</span> l(b){<span class="keywordflow">return</span>!b||typeof b==<span class="stringliteral">&quot;number&quot;</span>||a.fx.speeds[b]?!0:typeof b==<span class="stringliteral">&quot;string&quot;</span>&amp;&amp;!a.effects[b]?!0:!1}a.effects={},a.each([<span class="stringliteral">&quot;backgroundColor&quot;</span>,<span class="stringliteral">&quot;borderBottomColor&quot;</span>,<span class="stringliteral">&quot;borderLeftColor&quot;</span>,<span class="stringliteral">&quot;borderRightColor&quot;</span>,<span class="stringliteral">&quot;borderTopColor&quot;</span>,<span class="stringliteral">&quot;borderColor&quot;</span>,<span class="stringliteral">&quot;color&quot;</span>,<span class="stringliteral">&quot;outlineColor&quot;</span>],<span class="keyword">function</span>(b,e){a.fx.step[e]=<span class="keyword">function</span>(a){a.colorInit||(a.start=d(a.elem,e),a.end=c(a.end),a.colorInit=!0),a.elem.style[e]=<span class="stringliteral">&quot;rgb(&quot;</span>+Math.max(Math.min(parseInt(a.pos*(a.end[0]-a.start[0])+a.start[0],10),255),0)+<span class="stringliteral">&quot;,&quot;</span>+Math.max(Math.min(parseInt(a.pos*(a.end[1]-a.start[1])+a.start[1],10),255),0)+<span class="stringliteral">&quot;,&quot;</span>+Math.max(Math.min(parseInt(a.pos*(a.end[2]-a.start[2])+a.start[2],10),255),0)+<span class="stringliteral">&quot;)&quot;</span>}});var e={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},f=[<span class="stringliteral">&quot;add&quot;</span>,<span class="stringliteral">&quot;remove&quot;</span>,<span class="stringliteral">&quot;toggle&quot;</span>],g={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};a.effects.animateClass=<span class="keyword">function</span>(b,c,d,e){<span class="keywordflow">return</span> a.isFunction(d)&amp;&amp;(e=d,d=null),this.queue(<span class="keyword">function</span>(){var g=a(<span class="keyword">this</span>),k=g.attr(<span class="stringliteral">&quot;style&quot;</span>)||<span class="stringliteral">&quot; &quot;</span>,l=i(h.call(<span class="keyword">this</span>)),m,n=g.attr(<span class="stringliteral">&quot;class&quot;</span>)||<span class="stringliteral">&quot;&quot;</span>;a.each(f,<span class="keyword">function</span>(a,c){b[c]&amp;&amp;g[c+<span class="stringliteral">&quot;Class&quot;</span>](b[c])}),m=i(h.call(<span class="keyword">this</span>)),g.attr(<span class="stringliteral">&quot;class&quot;</span>,n),g.animate(j(l,m),{queue:!1,duration:c,easing:d,complete:<span class="keyword">function</span>(){a.each(f,<span class="keyword">function</span>(a,c){b[c]&amp;&amp;g[c+<span class="stringliteral">&quot;Class&quot;</span>](b[c])}),typeof g.attr(<span class="stringliteral">&quot;style&quot;</span>)==<span class="stringliteral">&quot;object&quot;</span>?(g.attr(<span class="stringliteral">&quot;style&quot;</span>).cssText=<span class="stringliteral">&quot;&quot;</span>,g.attr(<span class="stringliteral">&quot;style&quot;</span>).cssText=k):g.attr(<span class="stringliteral">&quot;style&quot;</span>,k),e&amp;&amp;e.apply(<span class="keyword">this</span>,arguments),a.dequeue(<span class="keyword">this</span>)}})})},a.fn.extend({_addClass:a.fn.addClass,addClass:<span class="keyword">function</span>(b,c,d,e){<span class="keywordflow">return</span> c?a.effects.animateClass.apply(<span class="keyword">this</span>,[{add:b},c,d,e]):this._addClass(b)},_removeClass:a.fn.removeClass,removeClass:<span class="keyword">function</span>(b,c,d,e){<span class="keywordflow">return</span> c?a.effects.animateClass.apply(<span class="keyword">this</span>,[{<span class="keyword">remove</span>:b},c,d,e]):this._removeClass(b)},_toggleClass:a.fn.toggleClass,toggleClass:<span class="keyword">function</span>(c,d,e,f,g){<span class="keywordflow">return</span> typeof d==<span class="stringliteral">&quot;boolean&quot;</span>||d===b?e?a.effects.animateClass.apply(<span class="keyword">this</span>,[d?{add:c}:{<span class="keyword">remove</span>:c},e,f,g]):this._toggleClass(c,d):a.effects.animateClass.apply(<span class="keyword">this</span>,[{toggle:c},d,e,f])},switchClass:<span class="keyword">function</span>(b,c,d,e,f){<span class="keywordflow">return</span> a.effects.animateClass.apply(<span class="keyword">this</span>,[{add:c,<span class="keyword">remove</span>:b},d,e,f])}}),a.extend(a.effects,{version:<span class="stringliteral">&quot;1.8.20&quot;</span>,save:<span class="keyword">function</span>(a,b){<span class="keywordflow">for</span>(var c=0;c&lt;b.length;c++)b[c]!==null&amp;&amp;a.data(<span class="stringliteral">&quot;ec.storage.&quot;</span>+b[c],a[0].style[b[c]])},restore:<span class="keyword">function</span>(a,b){<span class="keywordflow">for</span>(var c=0;c&lt;b.length;c++)b[c]!==null&amp;&amp;a.css(b[c],a.data(<span class="stringliteral">&quot;ec.storage.&quot;</span>+b[c]))},setMode:<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span> b==<span class="stringliteral">&quot;toggle&quot;</span>&amp;&amp;(b=a.is(<span class="stringliteral">&quot;:hidden&quot;</span>)?<span class="stringliteral">&quot;show&quot;</span>:<span class="stringliteral">&quot;hide&quot;</span>),b},getBaseline:<span class="keyword">function</span>(a,b){var c,d;<span class="keywordflow">switch</span>(a[0]){<span class="keywordflow">case</span><span class="stringliteral">&quot;top&quot;</span>:c=0;<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;middle&quot;</span>:c=.5;<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;bottom&quot;</span>:c=1;<span class="keywordflow">break</span>;<span class="keywordflow">default</span>:c=a[0]/b.height}<span class="keywordflow">switch</span>(a[1]){<span class="keywordflow">case</span><span class="stringliteral">&quot;left&quot;</span>:d=0;<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;center&quot;</span>:d=.5;<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;right&quot;</span>:d=1;<span class="keywordflow">break</span>;<span class="keywordflow">default</span>:d=a[1]/b.width}<span class="keywordflow">return</span>{x:d,y:c}},createWrapper:<span class="keyword">function</span>(b){<span class="keywordflow">if</span>(b.parent().is(<span class="stringliteral">&quot;.ui-effects-wrapper&quot;</span>))<span class="keywordflow">return</span> b.parent();var c={width:b.outerWidth(!0),height:b.outerHeight(!0),<span class="stringliteral">&quot;float&quot;</span>:b.css(<span class="stringliteral">&quot;float&quot;</span>)},d=a(<span class="stringliteral">&quot;&lt;div&gt;&lt;/div&gt;&quot;</span>).addClass(<span class="stringliteral">&quot;ui-effects-wrapper&quot;</span>).css({fontSize:<span class="stringliteral">&quot;100%&quot;</span>,background:<span class="stringliteral">&quot;transparent&quot;</span>,border:<span class="stringliteral">&quot;none&quot;</span>,margin:0,padding:0}),e=document.activeElement;<span class="keywordflow">return</span> b.wrap(d),(b[0]===e||a.contains(b[0],e))&amp;&amp;a(e).focus(),d=b.parent(),b.css(<span class="stringliteral">&quot;position&quot;</span>)==<span class="stringliteral">&quot;static&quot;</span>?(d.css({position:<span class="stringliteral">&quot;relative&quot;</span>}),b.css({position:<span class="stringliteral">&quot;relative&quot;</span>})):(a.extend(c,{position:b.css(<span class="stringliteral">&quot;position&quot;</span>),zIndex:b.css(<span class="stringliteral">&quot;z-index&quot;</span>)}),a.each([<span class="stringliteral">&quot;top&quot;</span>,<span class="stringliteral">&quot;left&quot;</span>,<span class="stringliteral">&quot;bottom&quot;</span>,<span class="stringliteral">&quot;right&quot;</span>],<span class="keyword">function</span>(a,d){c[d]=b.css(d),isNaN(parseInt(c[d],10))&amp;&amp;(c[d]=<span class="stringliteral">&quot;auto&quot;</span>)}),b.css({position:<span class="stringliteral">&quot;relative&quot;</span>,top:0,left:0,right:<span class="stringliteral">&quot;auto&quot;</span>,bottom:<span class="stringliteral">&quot;auto&quot;</span>})),d.css(c).show()},removeWrapper:<span class="keyword">function</span>(b){var c,d=document.activeElement;<span class="keywordflow">return</span> b.parent().is(<span class="stringliteral">&quot;.ui-effects-wrapper&quot;</span>)?(c=b.parent().replaceWith(b),(b[0]===d||a.contains(b[0],d))&amp;&amp;a(d).focus(),c):b},setTransition:<span class="keyword">function</span>(b,c,d,e){<span class="keywordflow">return</span> e=e||{},a.each(c,<span class="keyword">function</span>(a,c){var f=b.cssUnit(c);f[0]&gt;0&amp;&amp;(e[c]=f[0]*d+f[1])}),e}}),a.fn.extend({effect:<span class="keyword">function</span>(b,c,d,e){var f=k.apply(<span class="keyword">this</span>,arguments),g={options:f[1],duration:f[2],callback:f[3]},h=g.options.mode,i=a.effects[b];<span class="keywordflow">return</span> a.fx.off||!i?h?<span class="keyword">this</span>[h](g.duration,g.callback):this.each(<span class="keyword">function</span>(){g.callback&amp;&amp;g.callback.call(<span class="keyword">this</span>)}):i.call(<span class="keyword">this</span>,g)},_show:a.fn.show,show:<span class="keyword">function</span>(a){<span class="keywordflow">if</span>(l(a))<span class="keywordflow">return</span> this._show.apply(<span class="keyword">this</span>,arguments);var b=k.apply(<span class="keyword">this</span>,arguments);<span class="keywordflow">return</span> b[1].mode=<span class="stringliteral">&quot;show&quot;</span>,this.effect.apply(<span class="keyword">this</span>,b)},_hide:a.fn.hide,hide:<span class="keyword">function</span>(a){<span class="keywordflow">if</span>(l(a))<span class="keywordflow">return</span> this._hide.apply(<span class="keyword">this</span>,arguments);var b=k.apply(<span class="keyword">this</span>,arguments);<span class="keywordflow">return</span> b[1].mode=<span class="stringliteral">&quot;hide&quot;</span>,this.effect.apply(<span class="keyword">this</span>,b)},__toggle:a.fn.toggle,toggle:<span class="keyword">function</span>(b){<span class="keywordflow">if</span>(l(b)||typeof b==<span class="stringliteral">&quot;boolean&quot;</span>||a.isFunction(b))<span class="keywordflow">return</span> this.__toggle.apply(<span class="keyword">this</span>,arguments);var c=k.apply(<span class="keyword">this</span>,arguments);<span class="keywordflow">return</span> c[1].mode=<span class="stringliteral">&quot;toggle&quot;</span>,this.effect.apply(<span class="keyword">this</span>,c)},cssUnit:<span class="keyword">function</span>(b){var c=this.css(b),d=[];<span class="keywordflow">return</span> a.each([<span class="stringliteral">&quot;em&quot;</span>,<span class="stringliteral">&quot;px&quot;</span>,<span class="stringliteral">&quot;%&quot;</span>,<span class="stringliteral">&quot;pt&quot;</span>],<span class="keyword">function</span>(a,b){c.indexOf(b)&gt;0&amp;&amp;(d=[parseFloat(c),b])}),d}}),a.easing.jswing=a.easing.swing,a.extend(a.easing,{def:<span class="stringliteral">&quot;easeOutQuad&quot;</span>,swing:<span class="keyword">function</span>(b,c,d,e,f){<span class="keywordflow">return</span> a.easing[a.easing.def](b,c,d,e,f)},easeInQuad:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span> d*(b/=e)*b+c},easeOutQuad:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span>-d*(b/=e)*(b-2)+c},easeInOutQuad:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span>(b/=e/2)&lt;1?d/2*b*b+c:-d/2*(--b*(b-2)-1)+c},easeInCubic:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span> d*(b/=e)*b*b+c},easeOutCubic:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span> d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span>(b/=e/2)&lt;1?d/2*b*b*b+c:d/2*((b-=2)*b*b+2)+c},easeInQuart:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span> d*(b/=e)*b*b*b+c},easeOutQuart:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span>-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span>(b/=e/2)&lt;1?d/2*b*b*b*b+c:-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span> d*(b/=e)*b*b*b*b+c},easeOutQuint:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span> d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span>(b/=e/2)&lt;1?d/2*b*b*b*b*b+c:d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span>-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span> d*Math.sin(b/e*(Math.PI/2))+c},easeInOutSine:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span>-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span> b==0?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span> b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span> b==0?c:b==e?c+d:(b/=e/2)&lt;1?d/2*Math.pow(2,10*(b-1))+c:d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span>-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span> d*Math.sqrt(1-(b=b/e-1)*b)+c},easeInOutCirc:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span>(b/=e/2)&lt;1?-d/2*(Math.sqrt(1-b*b)-1)+c:d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:<span class="keyword">function</span>(a,b,c,d,e){var f=1.70158,g=0,h=d;<span class="keywordflow">if</span>(b==0)<span class="keywordflow">return</span> c;<span class="keywordflow">if</span>((b/=e)==1)<span class="keywordflow">return</span> c+d;g||(g=e*.3);<span class="keywordflow">if</span>(h&lt;Math.abs(d)){h=d;var f=g/4}<span class="keywordflow">else</span> var f=g/(2*Math.PI)*Math.asin(d/h);<span class="keywordflow">return</span>-(h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g))+c},easeOutElastic:<span class="keyword">function</span>(a,b,c,d,e){var f=1.70158,g=0,h=d;<span class="keywordflow">if</span>(b==0)<span class="keywordflow">return</span> c;<span class="keywordflow">if</span>((b/=e)==1)<span class="keywordflow">return</span> c+d;g||(g=e*.3);<span class="keywordflow">if</span>(h&lt;Math.abs(d)){h=d;var f=g/4}<span class="keywordflow">else</span> var f=g/(2*Math.PI)*Math.asin(d/h);<span class="keywordflow">return</span> h*Math.pow(2,-10*b)*Math.sin((b*e-f)*2*Math.PI/g)+d+c},easeInOutElastic:<span class="keyword">function</span>(a,b,c,d,e){var f=1.70158,g=0,h=d;<span class="keywordflow">if</span>(b==0)<span class="keywordflow">return</span> c;<span class="keywordflow">if</span>((b/=e/2)==2)<span class="keywordflow">return</span> c+d;g||(g=e*.3*1.5);<span class="keywordflow">if</span>(h&lt;Math.abs(d)){h=d;var f=g/4}<span class="keywordflow">else</span> var f=g/(2*Math.PI)*Math.asin(d/h);<span class="keywordflow">return</span> b&lt;1?-0.5*h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)+c:h*Math.pow(2,-10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)*.5+d+c},easeInBack:<span class="keyword">function</span>(a,c,d,e,f,g){<span class="keywordflow">return</span> g==b&amp;&amp;(g=1.70158),e*(c/=f)*c*((g+1)*c-g)+d},easeOutBack:<span class="keyword">function</span>(a,c,d,e,f,g){<span class="keywordflow">return</span> g==b&amp;&amp;(g=1.70158),e*((c=c/f-1)*c*((g+1)*c+g)+1)+d},easeInOutBack:<span class="keyword">function</span>(a,c,d,e,f,g){<span class="keywordflow">return</span> g==b&amp;&amp;(g=1.70158),(c/=f/2)&lt;1?e/2*c*c*(((g*=1.525)+1)*c-g)+d:e/2*((c-=2)*c*(((g*=1.525)+1)*c+g)+2)+d},easeInBounce:<span class="keyword">function</span>(b,c,d,e,f){<span class="keywordflow">return</span> e-a.easing.easeOutBounce(b,f-c,0,e,f)+d},easeOutBounce:<span class="keyword">function</span>(a,b,c,d,e){<span class="keywordflow">return</span>(b/=e)&lt;1/2.75?d*7.5625*b*b+c:b&lt;2/2.75?d*(7.5625*(b-=1.5/2.75)*b+.75)+c:b&lt;2.5/2.75?d*(7.5625*(b-=2.25/2.75)*b+.9375)+c:d*(7.5625*(b-=2.625/2.75)*b+.984375)+c},easeInOutBounce:<span class="keyword">function</span>(b,c,d,e,f){<span class="keywordflow">return</span> c&lt;f/2?a.easing.easeInBounce(b,c*2,0,e,f)*.5+d:a.easing.easeOutBounce(b,c*2-f,0,e,f)*.5+e*.5+d}})}(jQuery),<span class="keyword">function</span>(a,b){a.effects.blind=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=[<span class="stringliteral">&quot;position&quot;</span>,<span class="stringliteral">&quot;top&quot;</span>,<span class="stringliteral">&quot;bottom&quot;</span>,<span class="stringliteral">&quot;left&quot;</span>,<span class="stringliteral">&quot;right&quot;</span>],e=a.effects.setMode(c,b.options.mode||<span class="stringliteral">&quot;hide&quot;</span>),f=b.options.direction||<span class="stringliteral">&quot;vertical&quot;</span>;a.effects.save(c,d),c.show();var g=a.effects.createWrapper(c).css({overflow:<span class="stringliteral">&quot;hidden&quot;</span>}),h=f==<span class="stringliteral">&quot;vertical&quot;</span>?<span class="stringliteral">&quot;height&quot;</span>:<span class="stringliteral">&quot;width&quot;</span>,i=f==<span class="stringliteral">&quot;vertical&quot;</span>?g.height():g.width();e==<span class="stringliteral">&quot;show&quot;</span>&amp;&amp;g.css(h,0);var j={};j[h]=e==<span class="stringliteral">&quot;show&quot;</span>?i:0,g.animate(j,b.duration,b.options.easing,<span class="keyword">function</span>(){e==<span class="stringliteral">&quot;hide&quot;</span>&amp;&amp;c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(c[0],arguments),c.dequeue()})})}}(jQuery),<span class="keyword">function</span>(a,b){a.effects.bounce=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=[<span class="stringliteral">&quot;position&quot;</span>,<span class="stringliteral">&quot;top&quot;</span>,<span class="stringliteral">&quot;bottom&quot;</span>,<span class="stringliteral">&quot;left&quot;</span>,<span class="stringliteral">&quot;right&quot;</span>],e=a.effects.setMode(c,b.options.mode||<span class="stringliteral">&quot;effect&quot;</span>),f=b.options.direction||<span class="stringliteral">&quot;up&quot;</span>,g=b.options.distance||20,h=b.options.times||5,i=b.duration||250;/show|hide/.test(e)&amp;&amp;d.push(<span class="stringliteral">&quot;opacity&quot;</span>),a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var j=f==<span class="stringliteral">&quot;up&quot;</span>||f==<span class="stringliteral">&quot;down&quot;</span>?<span class="stringliteral">&quot;top&quot;</span>:<span class="stringliteral">&quot;left&quot;</span>,k=f==<span class="stringliteral">&quot;up&quot;</span>||f==<span class="stringliteral">&quot;left&quot;</span>?<span class="stringliteral">&quot;pos&quot;</span>:<span class="stringliteral">&quot;neg&quot;</span>,g=b.options.distance||(j==<span class="stringliteral">&quot;top&quot;</span>?c.outerHeight({margin:!0})/3:c.outerWidth({margin:!0})/3);e==<span class="stringliteral">&quot;show&quot;</span>&amp;&amp;c.css(<span class="stringliteral">&quot;opacity&quot;</span>,0).css(j,k==<span class="stringliteral">&quot;pos&quot;</span>?-g:g),e==<span class="stringliteral">&quot;hide&quot;</span>&amp;&amp;(g=g/(h*2)),e!=<span class="stringliteral">&quot;hide&quot;</span>&amp;&amp;h--;<span class="keywordflow">if</span>(e==<span class="stringliteral">&quot;show&quot;</span>){var l={opacity:1};l[j]=(k==<span class="stringliteral">&quot;pos&quot;</span>?<span class="stringliteral">&quot;+=&quot;</span>:<span class="stringliteral">&quot;-=&quot;</span>)+g,c.animate(l,i/2,b.options.easing),g=g/2,h--}<span class="keywordflow">for</span>(var m=0;m&lt;h;m++){var n={},p={};n[j]=(k==<span class="stringliteral">&quot;pos&quot;</span>?<span class="stringliteral">&quot;-=&quot;</span>:<span class="stringliteral">&quot;+=&quot;</span>)+g,p[j]=(k==<span class="stringliteral">&quot;pos&quot;</span>?<span class="stringliteral">&quot;+=&quot;</span>:<span class="stringliteral">&quot;-=&quot;</span>)+g,c.animate(n,i/2,b.options.easing).animate(p,i/2,b.options.easing),g=e==<span class="stringliteral">&quot;hide&quot;</span>?g*2:g/2}<span class="keywordflow">if</span>(e==<span class="stringliteral">&quot;hide&quot;</span>){var l={opacity:0};l[j]=(k==<span class="stringliteral">&quot;pos&quot;</span>?<span class="stringliteral">&quot;-=&quot;</span>:<span class="stringliteral">&quot;+=&quot;</span>)+g,c.animate(l,i/2,b.options.easing,<span class="keyword">function</span>(){c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(<span class="keyword">this</span>,arguments)})}<span class="keywordflow">else</span>{var n={},p={};n[j]=(k==<span class="stringliteral">&quot;pos&quot;</span>?<span class="stringliteral">&quot;-=&quot;</span>:<span class="stringliteral">&quot;+=&quot;</span>)+g,p[j]=(k==<span class="stringliteral">&quot;pos&quot;</span>?<span class="stringliteral">&quot;+=&quot;</span>:<span class="stringliteral">&quot;-=&quot;</span>)+g,c.animate(n,i/2,b.options.easing).animate(p,i/2,b.options.easing,<span class="keyword">function</span>(){a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(<span class="keyword">this</span>,arguments)})}c.queue(<span class="stringliteral">&quot;fx&quot;</span>,<span class="keyword">function</span>(){c.dequeue()}),c.dequeue()})}}(jQuery),<span class="keyword">function</span>(a,b){a.effects.clip=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=[<span class="stringliteral">&quot;position&quot;</span>,<span class="stringliteral">&quot;top&quot;</span>,<span class="stringliteral">&quot;bottom&quot;</span>,<span class="stringliteral">&quot;left&quot;</span>,<span class="stringliteral">&quot;right&quot;</span>,<span class="stringliteral">&quot;height&quot;</span>,<span class="stringliteral">&quot;width&quot;</span>],e=a.effects.setMode(c,b.options.mode||<span class="stringliteral">&quot;hide&quot;</span>),f=b.options.direction||<span class="stringliteral">&quot;vertical&quot;</span>;a.effects.save(c,d),c.show();var g=a.effects.createWrapper(c).css({overflow:<span class="stringliteral">&quot;hidden&quot;</span>}),h=c[0].tagName==<span class="stringliteral">&quot;IMG&quot;</span>?g:c,i={size:f==<span class="stringliteral">&quot;vertical&quot;</span>?<span class="stringliteral">&quot;height&quot;</span>:<span class="stringliteral">&quot;width&quot;</span>,position:f==<span class="stringliteral">&quot;vertical&quot;</span>?<span class="stringliteral">&quot;top&quot;</span>:<span class="stringliteral">&quot;left&quot;</span>},j=f==<span class="stringliteral">&quot;vertical&quot;</span>?h.height():h.width();e==<span class="stringliteral">&quot;show&quot;</span>&amp;&amp;(h.css(i.size,0),h.css(i.position,j/2));var k={};k[i.size]=e==<span class="stringliteral">&quot;show&quot;</span>?j:0,k[i.position]=e==<span class="stringliteral">&quot;show&quot;</span>?0:j/2,h.animate(k,{queue:!1,duration:b.duration,easing:b.options.easing,complete:<span class="keyword">function</span>(){e==<span class="stringliteral">&quot;hide&quot;</span>&amp;&amp;c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(c[0],arguments),c.dequeue()}})})}}(jQuery),<span class="keyword">function</span>(a,b){a.effects.drop=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=[<span class="stringliteral">&quot;position&quot;</span>,<span class="stringliteral">&quot;top&quot;</span>,<span class="stringliteral">&quot;bottom&quot;</span>,<span class="stringliteral">&quot;left&quot;</span>,<span class="stringliteral">&quot;right&quot;</span>,<span class="stringliteral">&quot;opacity&quot;</span>],e=a.effects.setMode(c,b.options.mode||<span class="stringliteral">&quot;hide&quot;</span>),f=b.options.direction||<span class="stringliteral">&quot;left&quot;</span>;a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var g=f==<span class="stringliteral">&quot;up&quot;</span>||f==<span class="stringliteral">&quot;down&quot;</span>?<span class="stringliteral">&quot;top&quot;</span>:<span class="stringliteral">&quot;left&quot;</span>,h=f==<span class="stringliteral">&quot;up&quot;</span>||f==<span class="stringliteral">&quot;left&quot;</span>?<span class="stringliteral">&quot;pos&quot;</span>:<span class="stringliteral">&quot;neg&quot;</span>,i=b.options.distance||(g==<span class="stringliteral">&quot;top&quot;</span>?c.outerHeight({margin:!0})/2:c.outerWidth({margin:!0})/2);e==<span class="stringliteral">&quot;show&quot;</span>&amp;&amp;c.css(<span class="stringliteral">&quot;opacity&quot;</span>,0).css(g,h==<span class="stringliteral">&quot;pos&quot;</span>?-i:i);var j={opacity:e==<span class="stringliteral">&quot;show&quot;</span>?1:0};j[g]=(e==<span class="stringliteral">&quot;show&quot;</span>?h==<span class="stringliteral">&quot;pos&quot;</span>?<span class="stringliteral">&quot;+=&quot;</span>:<span class="stringliteral">&quot;-=&quot;</span>:h==<span class="stringliteral">&quot;pos&quot;</span>?<span class="stringliteral">&quot;-=&quot;</span>:<span class="stringliteral">&quot;+=&quot;</span>)+i,c.animate(j,{queue:!1,duration:b.duration,easing:b.options.easing,complete:<span class="keyword">function</span>(){e==<span class="stringliteral">&quot;hide&quot;</span>&amp;&amp;c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(<span class="keyword">this</span>,arguments),c.dequeue()}})})}}(jQuery),<span class="keyword">function</span>(a,b){a.effects.explode=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3,d=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3;b.options.mode=b.options.mode==<span class="stringliteral">&quot;toggle&quot;</span>?a(<span class="keyword">this</span>).is(<span class="stringliteral">&quot;:visible&quot;</span>)?<span class="stringliteral">&quot;hide&quot;</span>:<span class="stringliteral">&quot;show&quot;</span>:b.options.mode;var e=a(<span class="keyword">this</span>).show().css(<span class="stringliteral">&quot;visibility&quot;</span>,<span class="stringliteral">&quot;hidden&quot;</span>),f=e.offset();f.top-=parseInt(e.css(<span class="stringliteral">&quot;marginTop&quot;</span>),10)||0,f.left-=parseInt(e.css(<span class="stringliteral">&quot;marginLeft&quot;</span>),10)||0;var g=e.outerWidth(!0),h=e.outerHeight(!0);<span class="keywordflow">for</span>(var i=0;i&lt;c;i++)<span class="keywordflow">for</span>(var j=0;j&lt;d;j++)e.clone().appendTo(<span class="stringliteral">&quot;body&quot;</span>).wrap(<span class="stringliteral">&quot;&lt;div&gt;&lt;/div&gt;&quot;</span>).css({position:<span class="stringliteral">&quot;absolute&quot;</span>,visibility:<span class="stringliteral">&quot;visible&quot;</span>,left:-j*(g/d),top:-i*(h/c)}).parent().addClass(<span class="stringliteral">&quot;ui-effects-explode&quot;</span>).css({position:<span class="stringliteral">&quot;absolute&quot;</span>,overflow:<span class="stringliteral">&quot;hidden&quot;</span>,width:g/d,height:h/c,left:f.left+j*(g/d)+(b.options.mode==<span class="stringliteral">&quot;show&quot;</span>?(j-Math.floor(d/2))*(g/d):0),top:f.top+i*(h/c)+(b.options.mode==<span class="stringliteral">&quot;show&quot;</span>?(i-Math.floor(c/2))*(h/c):0),opacity:b.options.mode==<span class="stringliteral">&quot;show&quot;</span>?0:1}).animate({left:f.left+j*(g/d)+(b.options.mode==<span class="stringliteral">&quot;show&quot;</span>?0:(j-Math.floor(d/2))*(g/d)),top:f.top+i*(h/c)+(b.options.mode==<span class="stringliteral">&quot;show&quot;</span>?0:(i-Math.floor(c/2))*(h/c)),opacity:b.options.mode==<span class="stringliteral">&quot;show&quot;</span>?1:0},b.duration||500);setTimeout(<span class="keyword">function</span>(){b.options.mode==<span class="stringliteral">&quot;show&quot;</span>?e.css({visibility:<span class="stringliteral">&quot;visible&quot;</span>}):e.css({visibility:<span class="stringliteral">&quot;visible&quot;</span>}).hide(),b.callback&amp;&amp;b.callback.apply(e[0]),e.dequeue(),a(<span class="stringliteral">&quot;div.ui-effects-explode&quot;</span>).remove()},b.duration||500)})}}(jQuery),<span class="keyword">function</span>(a,b){a.effects.fade=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=a.effects.setMode(c,b.options.mode||<span class="stringliteral">&quot;hide&quot;</span>);c.animate({opacity:d},{queue:!1,duration:b.duration,easing:b.options.easing,complete:<span class="keyword">function</span>(){b.callback&amp;&amp;b.callback.apply(<span class="keyword">this</span>,arguments),c.dequeue()}})})}}(jQuery),<span class="keyword">function</span>(a,b){a.effects.fold=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=[<span class="stringliteral">&quot;position&quot;</span>,<span class="stringliteral">&quot;top&quot;</span>,<span class="stringliteral">&quot;bottom&quot;</span>,<span class="stringliteral">&quot;left&quot;</span>,<span class="stringliteral">&quot;right&quot;</span>],e=a.effects.setMode(c,b.options.mode||<span class="stringliteral">&quot;hide&quot;</span>),f=b.options.size||15,g=!!b.options.horizFirst,h=b.duration?b.duration/2:a.fx.speeds._default/2;a.effects.save(c,d),c.show();var i=a.effects.createWrapper(c).css({overflow:<span class="stringliteral">&quot;hidden&quot;</span>}),j=e==<span class="stringliteral">&quot;show&quot;</span>!=g,k=j?[<span class="stringliteral">&quot;width&quot;</span>,<span class="stringliteral">&quot;height&quot;</span>]:[<span class="stringliteral">&quot;height&quot;</span>,<span class="stringliteral">&quot;width&quot;</span>],l=j?[i.width(),i.height()]:[i.height(),i.width()],m=/([0-9]+)%/.exec(f);m&amp;&amp;(f=parseInt(m[1],10)/100*l[e==<span class="stringliteral">&quot;hide&quot;</span>?0:1]),e==<span class="stringliteral">&quot;show&quot;</span>&amp;&amp;i.css(g?{height:0,width:f}:{height:f,width:0});var n={},p={};n[k[0]]=e==<span class="stringliteral">&quot;show&quot;</span>?l[0]:f,p[k[1]]=e==<span class="stringliteral">&quot;show&quot;</span>?l[1]:0,i.animate(n,h,b.options.easing).animate(p,h,b.options.easing,<span class="keyword">function</span>(){e==<span class="stringliteral">&quot;hide&quot;</span>&amp;&amp;c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(c[0],arguments),c.dequeue()})})}}(jQuery),<span class="keyword">function</span>(a,b){a.effects.highlight=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=[<span class="stringliteral">&quot;backgroundImage&quot;</span>,<span class="stringliteral">&quot;backgroundColor&quot;</span>,<span class="stringliteral">&quot;opacity&quot;</span>],e=a.effects.setMode(c,b.options.mode||<span class="stringliteral">&quot;show&quot;</span>),f={backgroundColor:c.css(<span class="stringliteral">&quot;backgroundColor&quot;</span>)};e==<span class="stringliteral">&quot;hide&quot;</span>&amp;&amp;(f.opacity=0),a.effects.save(c,d),c.show().css({backgroundImage:<span class="stringliteral">&quot;none&quot;</span>,backgroundColor:b.options.color||<span class="stringliteral">&quot;#ffff99&quot;</span>}).animate(f,{queue:!1,duration:b.duration,easing:b.options.easing,complete:<span class="keyword">function</span>(){e==<span class="stringliteral">&quot;hide&quot;</span>&amp;&amp;c.hide(),a.effects.restore(c,d),e==<span class="stringliteral">&quot;show&quot;</span>&amp;&amp;!a.support.opacity&amp;&amp;this.style.removeAttribute(<span class="stringliteral">&quot;filter&quot;</span>),b.callback&amp;&amp;b.callback.apply(<span class="keyword">this</span>,arguments),c.dequeue()}})})}}(jQuery),<span class="keyword">function</span>(a,b){a.effects.pulsate=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=a.effects.setMode(c,b.options.mode||<span class="stringliteral">&quot;show&quot;</span>),e=(b.options.times||5)*2-1,f=b.duration?b.duration/2:a.fx.speeds._default/2,g=c.is(<span class="stringliteral">&quot;:visible&quot;</span>),h=0;g||(c.css(<span class="stringliteral">&quot;opacity&quot;</span>,0).show(),h=1),(d==<span class="stringliteral">&quot;hide&quot;</span>&amp;&amp;g||d==<span class="stringliteral">&quot;show&quot;</span>&amp;&amp;!g)&amp;&amp;e--;<span class="keywordflow">for</span>(var i=0;i&lt;e;i++)c.animate({opacity:h},f,b.options.easing),h=(h+1)%2;c.animate({opacity:h},f,b.options.easing,<span class="keyword">function</span>(){h==0&amp;&amp;c.hide(),b.callback&amp;&amp;b.callback.apply(<span class="keyword">this</span>,arguments)}),c.queue(<span class="stringliteral">&quot;fx&quot;</span>,<span class="keyword">function</span>(){c.dequeue()}).dequeue()})}}(jQuery),<span class="keyword">function</span>(a,b){a.effects.puff=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=a.effects.setMode(c,b.options.mode||<span class="stringliteral">&quot;hide&quot;</span>),e=parseInt(b.options.percent,10)||150,f=e/100,g={height:c.height(),width:c.width()};a.extend(b.options,{fade:!0,mode:d,percent:d==<span class="stringliteral">&quot;hide&quot;</span>?e:100,from:d==<span class="stringliteral">&quot;hide&quot;</span>?g:{height:g.height*f,width:g.width*f}}),c.effect(<span class="stringliteral">&quot;scale&quot;</span>,b.options,b.duration,b.callback),c.dequeue()})},a.effects.scale=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=a.extend(!0,{},b.options),e=a.effects.setMode(c,b.options.mode||<span class="stringliteral">&quot;effect&quot;</span>),f=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:e==<span class="stringliteral">&quot;hide&quot;</span>?0:100),g=b.options.direction||<span class="stringliteral">&quot;both&quot;</span>,h=b.options.origin;e!=<span class="stringliteral">&quot;effect&quot;</span>&amp;&amp;(d.origin=h||[<span class="stringliteral">&quot;middle&quot;</span>,<span class="stringliteral">&quot;center&quot;</span>],d.restore=!0);var i={height:c.height(),width:c.width()};c.from=b.options.from||(e==<span class="stringliteral">&quot;show&quot;</span>?{height:0,width:0}:i);var j={y:g!=<span class="stringliteral">&quot;horizontal&quot;</span>?f/100:1,x:g!=<span class="stringliteral">&quot;vertical&quot;</span>?f/100:1};c.to={height:i.height*j.y,width:i.width*j.x},b.options.fade&amp;&amp;(e==<span class="stringliteral">&quot;show&quot;</span>&amp;&amp;(c.from.opacity=0,c.to.opacity=1),e==<span class="stringliteral">&quot;hide&quot;</span>&amp;&amp;(c.from.opacity=1,c.to.opacity=0)),d.from=c.from,d.to=c.to,d.mode=e,c.effect(<span class="stringliteral">&quot;size&quot;</span>,d,b.duration,b.callback),c.dequeue()})},a.effects.size=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=[<span class="stringliteral">&quot;position&quot;</span>,<span class="stringliteral">&quot;top&quot;</span>,<span class="stringliteral">&quot;bottom&quot;</span>,<span class="stringliteral">&quot;left&quot;</span>,<span class="stringliteral">&quot;right&quot;</span>,<span class="stringliteral">&quot;width&quot;</span>,<span class="stringliteral">&quot;height&quot;</span>,<span class="stringliteral">&quot;overflow&quot;</span>,<span class="stringliteral">&quot;opacity&quot;</span>],e=[<span class="stringliteral">&quot;position&quot;</span>,<span class="stringliteral">&quot;top&quot;</span>,<span class="stringliteral">&quot;bottom&quot;</span>,<span class="stringliteral">&quot;left&quot;</span>,<span class="stringliteral">&quot;right&quot;</span>,<span class="stringliteral">&quot;overflow&quot;</span>,<span class="stringliteral">&quot;opacity&quot;</span>],f=[<span class="stringliteral">&quot;width&quot;</span>,<span class="stringliteral">&quot;height&quot;</span>,<span class="stringliteral">&quot;overflow&quot;</span>],g=[<span class="stringliteral">&quot;fontSize&quot;</span>],h=[<span class="stringliteral">&quot;borderTopWidth&quot;</span>,<span class="stringliteral">&quot;borderBottomWidth&quot;</span>,<span class="stringliteral">&quot;paddingTop&quot;</span>,<span class="stringliteral">&quot;paddingBottom&quot;</span>],i=[<span class="stringliteral">&quot;borderLeftWidth&quot;</span>,<span class="stringliteral">&quot;borderRightWidth&quot;</span>,<span class="stringliteral">&quot;paddingLeft&quot;</span>,<span class="stringliteral">&quot;paddingRight&quot;</span>],j=a.effects.setMode(c,b.options.mode||<span class="stringliteral">&quot;effect&quot;</span>),k=b.options.restore||!1,l=b.options.scale||<span class="stringliteral">&quot;both&quot;</span>,m=b.options.origin,n={height:c.height(),width:c.width()};c.from=b.options.from||n,c.to=b.options.to||n;<span class="keywordflow">if</span>(m){var p=a.effects.getBaseline(m,n);c.from.top=(n.height-c.from.height)*p.y,c.from.left=(n.width-c.from.width)*p.x,c.to.top=(n.height-c.to.height)*p.y,c.to.left=(n.width-c.to.width)*p.x}var q={from:{y:c.from.height/n.height,x:c.from.width/n.width},to:{y:c.to.height/n.height,x:c.to.width/n.width}};<span class="keywordflow">if</span>(l==<span class="stringliteral">&quot;box&quot;</span>||l==<span class="stringliteral">&quot;both&quot;</span>)q.from.y!=q.to.y&amp;&amp;(d=d.concat(h),c.from=a.effects.setTransition(c,h,q.from.y,c.from),c.to=a.effects.setTransition(c,h,q.to.y,c.to)),q.from.x!=q.to.x&amp;&amp;(d=d.concat(i),c.from=a.effects.setTransition(c,i,q.from.x,c.from),c.to=a.effects.setTransition(c,i,q.to.x,c.to));(l==<span class="stringliteral">&quot;content&quot;</span>||l==<span class="stringliteral">&quot;both&quot;</span>)&amp;&amp;q.from.y!=q.to.y&amp;&amp;(d=d.concat(g),c.from=a.effects.setTransition(c,g,q.from.y,c.from),c.to=a.effects.setTransition(c,g,q.to.y,c.to)),a.effects.save(c,k?d:e),c.show(),a.effects.createWrapper(c),c.css(<span class="stringliteral">&quot;overflow&quot;</span>,<span class="stringliteral">&quot;hidden&quot;</span>).css(c.from);<span class="keywordflow">if</span>(l==<span class="stringliteral">&quot;content&quot;</span>||l==<span class="stringliteral">&quot;both&quot;</span>)h=h.concat([<span class="stringliteral">&quot;marginTop&quot;</span>,<span class="stringliteral">&quot;marginBottom&quot;</span>]).concat(g),i=i.concat([<span class="stringliteral">&quot;marginLeft&quot;</span>,<span class="stringliteral">&quot;marginRight&quot;</span>]),f=d.concat(h).concat(i),c.find(<span class="stringliteral">&quot;*[width]&quot;</span>).each(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>);k&amp;&amp;a.effects.save(c,f);var d={height:c.height(),width:c.width()};c.from={height:d.height*q.from.y,width:d.width*q.from.x},c.to={height:d.height*q.to.y,width:d.width*q.to.x},q.from.y!=q.to.y&amp;&amp;(c.from=a.effects.setTransition(c,h,q.from.y,c.from),c.to=a.effects.setTransition(c,h,q.to.y,c.to)),q.from.x!=q.to.x&amp;&amp;(c.from=a.effects.setTransition(c,i,q.from.x,c.from),c.to=a.effects.setTransition(c,i,q.to.x,c.to)),c.css(c.from),c.animate(c.to,b.duration,b.options.easing,<span class="keyword">function</span>(){k&amp;&amp;a.effects.restore(c,f)})});c.animate(c.to,{queue:!1,duration:b.duration,easing:b.options.easing,complete:<span class="keyword">function</span>(){c.to.opacity===0&amp;&amp;c.css(<span class="stringliteral">&quot;opacity&quot;</span>,c.from.opacity),j==<span class="stringliteral">&quot;hide&quot;</span>&amp;&amp;c.hide(),a.effects.restore(c,k?d:e),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(<span class="keyword">this</span>,arguments),c.dequeue()}})})}}(jQuery),<span class="keyword">function</span>(a,b){a.effects.shake=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=[<span class="stringliteral">&quot;position&quot;</span>,<span class="stringliteral">&quot;top&quot;</span>,<span class="stringliteral">&quot;bottom&quot;</span>,<span class="stringliteral">&quot;left&quot;</span>,<span class="stringliteral">&quot;right&quot;</span>],e=a.effects.setMode(c,b.options.mode||<span class="stringliteral">&quot;effect&quot;</span>),f=b.options.direction||<span class="stringliteral">&quot;left&quot;</span>,g=b.options.distance||20,h=b.options.times||3,i=b.duration||b.options.duration||140;a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var j=f==<span class="stringliteral">&quot;up&quot;</span>||f==<span class="stringliteral">&quot;down&quot;</span>?<span class="stringliteral">&quot;top&quot;</span>:<span class="stringliteral">&quot;left&quot;</span>,k=f==<span class="stringliteral">&quot;up&quot;</span>||f==<span class="stringliteral">&quot;left&quot;</span>?<span class="stringliteral">&quot;pos&quot;</span>:<span class="stringliteral">&quot;neg&quot;</span>,l={},m={},n={};l[j]=(k==<span class="stringliteral">&quot;pos&quot;</span>?<span class="stringliteral">&quot;-=&quot;</span>:<span class="stringliteral">&quot;+=&quot;</span>)+g,m[j]=(k==<span class="stringliteral">&quot;pos&quot;</span>?<span class="stringliteral">&quot;+=&quot;</span>:<span class="stringliteral">&quot;-=&quot;</span>)+g*2,n[j]=(k==<span class="stringliteral">&quot;pos&quot;</span>?<span class="stringliteral">&quot;-=&quot;</span>:<span class="stringliteral">&quot;+=&quot;</span>)+g*2,c.animate(l,i,b.options.easing);<span class="keywordflow">for</span>(var p=1;p&lt;h;p++)c.animate(m,i,b.options.easing).animate(n,i,b.options.easing);c.animate(m,i,b.options.easing).animate(l,i/2,b.options.easing,<span class="keyword">function</span>(){a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(<span class="keyword">this</span>,arguments)}),c.queue(<span class="stringliteral">&quot;fx&quot;</span>,<span class="keyword">function</span>(){c.dequeue()}),c.dequeue()})}}(jQuery),<span class="keyword">function</span>(a,b){a.effects.slide=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=[<span class="stringliteral">&quot;position&quot;</span>,<span class="stringliteral">&quot;top&quot;</span>,<span class="stringliteral">&quot;bottom&quot;</span>,<span class="stringliteral">&quot;left&quot;</span>,<span class="stringliteral">&quot;right&quot;</span>],e=a.effects.setMode(c,b.options.mode||<span class="stringliteral">&quot;show&quot;</span>),f=b.options.direction||<span class="stringliteral">&quot;left&quot;</span>;a.effects.save(c,d),c.show(),a.effects.createWrapper(c).css({overflow:<span class="stringliteral">&quot;hidden&quot;</span>});var g=f==<span class="stringliteral">&quot;up&quot;</span>||f==<span class="stringliteral">&quot;down&quot;</span>?<span class="stringliteral">&quot;top&quot;</span>:<span class="stringliteral">&quot;left&quot;</span>,h=f==<span class="stringliteral">&quot;up&quot;</span>||f==<span class="stringliteral">&quot;left&quot;</span>?<span class="stringliteral">&quot;pos&quot;</span>:<span class="stringliteral">&quot;neg&quot;</span>,i=b.options.distance||(g==<span class="stringliteral">&quot;top&quot;</span>?c.outerHeight({margin:!0}):c.outerWidth({margin:!0}));e==<span class="stringliteral">&quot;show&quot;</span>&amp;&amp;c.css(g,h==<span class="stringliteral">&quot;pos&quot;</span>?isNaN(i)?<span class="stringliteral">&quot;-&quot;</span>+i:-i:i);var j={};j[g]=(e==<span class="stringliteral">&quot;show&quot;</span>?h==<span class="stringliteral">&quot;pos&quot;</span>?<span class="stringliteral">&quot;+=&quot;</span>:<span class="stringliteral">&quot;-=&quot;</span>:h==<span class="stringliteral">&quot;pos&quot;</span>?<span class="stringliteral">&quot;-=&quot;</span>:<span class="stringliteral">&quot;+=&quot;</span>)+i,c.animate(j,{queue:!1,duration:b.duration,easing:b.options.easing,complete:<span class="keyword">function</span>(){e==<span class="stringliteral">&quot;hide&quot;</span>&amp;&amp;c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&amp;&amp;b.callback.apply(<span class="keyword">this</span>,arguments),c.dequeue()}})})}}(jQuery),<span class="keyword">function</span>(a,b){a.effects.transfer=<span class="keyword">function</span>(b){<span class="keywordflow">return</span> this.queue(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=a(b.options.to),e=d.offset(),f={top:e.top,left:e.left,height:d.innerHeight(),width:d.innerWidth()},g=c.offset(),h=a(<span class="stringliteral">&#39;&lt;div class=&quot;ui-effects-transfer&quot;&gt;&lt;/div&gt;&#39;</span>).appendTo(document.body).addClass(b.options.className).css({top:g.top,left:g.left,height:c.innerHeight(),width:c.innerWidth(),position:<span class="stringliteral">&quot;absolute&quot;</span>}).animate(f,b.duration,b.options.easing,<span class="keyword">function</span>(){h.remove(),b.callback&amp;&amp;b.callback.apply(c[0],arguments),c.dequeue()})})}}(jQuery),<span class="keyword">function</span>(a,b){a.widget(<span class="stringliteral">&quot;ui.accordion&quot;</span>,{options:{active:0,animated:<span class="stringliteral">&quot;slide&quot;</span>,autoHeight:!0,clearStyle:!1,collapsible:!1,<span class="keyword">event</span>:<span class="stringliteral">&quot;click&quot;</span>,fillSpace:!1,header:<span class="stringliteral">&quot;&gt; li &gt; :first-child,&gt; :not(li):even&quot;</span>,icons:{header:<span class="stringliteral">&quot;ui-icon-triangle-1-e&quot;</span>,headerSelected:<span class="stringliteral">&quot;ui-icon-triangle-1-s&quot;</span>},navigation:!1,navigationFilter:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.href.toLowerCase()===location.href.toLowerCase()}},_create:<span class="keyword">function</span>(){var b=<span class="keyword">this</span>,c=b.options;b.running=0,b.element.addClass(<span class="stringliteral">&quot;ui-accordion ui-widget ui-helper-reset&quot;</span>).children(<span class="stringliteral">&quot;li&quot;</span>).addClass(<span class="stringliteral">&quot;ui-accordion-li-fix&quot;</span>),b.headers=b.element.find(c.header).addClass(<span class="stringliteral">&quot;ui-accordion-header ui-helper-reset ui-state-default ui-corner-all&quot;</span>).bind(<span class="stringliteral">&quot;mouseenter.accordion&quot;</span>,<span class="keyword">function</span>(){<span class="keywordflow">if</span>(c.disabled)<span class="keywordflow">return</span>;a(<span class="keyword">this</span>).addClass(<span class="stringliteral">&quot;ui-state-hover&quot;</span>)}).bind(<span class="stringliteral">&quot;mouseleave.accordion&quot;</span>,<span class="keyword">function</span>(){<span class="keywordflow">if</span>(c.disabled)<span class="keywordflow">return</span>;a(<span class="keyword">this</span>).removeClass(<span class="stringliteral">&quot;ui-state-hover&quot;</span>)}).bind(<span class="stringliteral">&quot;focus.accordion&quot;</span>,<span class="keyword">function</span>(){<span class="keywordflow">if</span>(c.disabled)<span class="keywordflow">return</span>;a(<span class="keyword">this</span>).addClass(<span class="stringliteral">&quot;ui-state-focus&quot;</span>)}).bind(<span class="stringliteral">&quot;blur.accordion&quot;</span>,<span class="keyword">function</span>(){<span class="keywordflow">if</span>(c.disabled)<span class="keywordflow">return</span>;a(<span class="keyword">this</span>).removeClass(<span class="stringliteral">&quot;ui-state-focus&quot;</span>)}),b.headers.next().addClass(<span class="stringliteral">&quot;ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom&quot;</span>);<span class="keywordflow">if</span>(c.navigation){var d=b.element.find(<span class="stringliteral">&quot;a&quot;</span>).filter(c.navigationFilter).eq(0);<span class="keywordflow">if</span>(d.length){var e=d.closest(<span class="stringliteral">&quot;.ui-accordion-header&quot;</span>);e.length?b.active=e:b.active=d.closest(<span class="stringliteral">&quot;.ui-accordion-content&quot;</span>).prev()}}b.active=b._findActive(b.active||c.active).addClass(<span class="stringliteral">&quot;ui-state-default ui-state-active&quot;</span>).toggleClass(<span class="stringliteral">&quot;ui-corner-all&quot;</span>).toggleClass(<span class="stringliteral">&quot;ui-corner-top&quot;</span>),b.active.next().addClass(<span class="stringliteral">&quot;ui-accordion-content-active&quot;</span>),b._createIcons(),b.resize(),b.element.attr(<span class="stringliteral">&quot;role&quot;</span>,<span class="stringliteral">&quot;tablist&quot;</span>),b.headers.attr(<span class="stringliteral">&quot;role&quot;</span>,<span class="stringliteral">&quot;tab&quot;</span>).bind(<span class="stringliteral">&quot;keydown.accordion&quot;</span>,<span class="keyword">function</span>(a){<span class="keywordflow">return</span> b._keydown(a)}).next().attr(<span class="stringliteral">&quot;role&quot;</span>,<span class="stringliteral">&quot;tabpanel&quot;</span>),b.headers.not(b.active||<span class="stringliteral">&quot;&quot;</span>).attr({<span class="stringliteral">&quot;aria-expanded&quot;</span>:<span class="stringliteral">&quot;false&quot;</span>,<span class="stringliteral">&quot;aria-selected&quot;</span>:<span class="stringliteral">&quot;false&quot;</span>,tabIndex:-1}).next().hide(),b.active.length?b.active.attr({<span class="stringliteral">&quot;aria-expanded&quot;</span>:<span class="stringliteral">&quot;true&quot;</span>,<span class="stringliteral">&quot;aria-selected&quot;</span>:<span class="stringliteral">&quot;true&quot;</span>,tabIndex:0}):b.headers.eq(0).attr(<span class="stringliteral">&quot;tabIndex&quot;</span>,0),a.browser.safari||b.headers.find(<span class="stringliteral">&quot;a&quot;</span>).attr(<span class="stringliteral">&quot;tabIndex&quot;</span>,-1),c.event&amp;&amp;b.headers.bind(c.event.split(<span class="stringliteral">&quot; &quot;</span>).join(<span class="stringliteral">&quot;.accordion &quot;</span>)+<span class="stringliteral">&quot;.accordion&quot;</span>,<span class="keyword">function</span>(a){b._clickHandler.call(b,a,<span class="keyword">this</span>),a.preventDefault()})},_createIcons:<span class="keyword">function</span>(){var b=this.options;b.icons&amp;&amp;(a(<span class="stringliteral">&quot;&lt;span&gt;&lt;/span&gt;&quot;</span>).addClass(<span class="stringliteral">&quot;ui-icon &quot;</span>+b.icons.header).prependTo(this.headers),this.active.children(<span class="stringliteral">&quot;.ui-icon&quot;</span>).toggleClass(b.icons.header).toggleClass(b.icons.headerSelected),this.element.addClass(<span class="stringliteral">&quot;ui-accordion-icons&quot;</span>))},_destroyIcons:<span class="keyword">function</span>(){this.headers.children(<span class="stringliteral">&quot;.ui-icon&quot;</span>).remove(),this.element.removeClass(<span class="stringliteral">&quot;ui-accordion-icons&quot;</span>)},destroy:<span class="keyword">function</span>(){var b=this.options;this.element.removeClass(<span class="stringliteral">&quot;ui-accordion ui-widget ui-helper-reset&quot;</span>).removeAttr(<span class="stringliteral">&quot;role&quot;</span>),this.headers.unbind(<span class="stringliteral">&quot;.accordion&quot;</span>).removeClass(<span class="stringliteral">&quot;ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top&quot;</span>).removeAttr(<span class="stringliteral">&quot;role&quot;</span>).removeAttr(<span class="stringliteral">&quot;aria-expanded&quot;</span>).removeAttr(<span class="stringliteral">&quot;aria-selected&quot;</span>).removeAttr(<span class="stringliteral">&quot;tabIndex&quot;</span>),this.headers.find(<span class="stringliteral">&quot;a&quot;</span>).removeAttr(<span class="stringliteral">&quot;tabIndex&quot;</span>),this._destroyIcons();var c=this.headers.next().css(<span class="stringliteral">&quot;display&quot;</span>,<span class="stringliteral">&quot;&quot;</span>).removeAttr(<span class="stringliteral">&quot;role&quot;</span>).removeClass(<span class="stringliteral">&quot;ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled&quot;</span>);<span class="keywordflow">return</span>(b.autoHeight||b.fillHeight)&amp;&amp;c.css(<span class="stringliteral">&quot;height&quot;</span>,<span class="stringliteral">&quot;&quot;</span>),a.Widget.prototype.destroy.call(<span class="keyword">this</span>)},_setOption:<span class="keyword">function</span>(b,c){a.Widget.prototype._setOption.apply(<span class="keyword">this</span>,arguments),b==<span class="stringliteral">&quot;active&quot;</span>&amp;&amp;this.activate(c),b==<span class="stringliteral">&quot;icons&quot;</span>&amp;&amp;(this._destroyIcons(),c&amp;&amp;this._createIcons()),b==<span class="stringliteral">&quot;disabled&quot;</span>&amp;&amp;this.headers.add(<span class="keyword">this</span>.headers.next())[c?<span class="stringliteral">&quot;addClass&quot;</span>:<span class="stringliteral">&quot;removeClass&quot;</span>](<span class="stringliteral">&quot;ui-accordion-disabled ui-state-disabled&quot;</span>)},_keydown:<span class="keyword">function</span>(b){<span class="keywordflow">if</span>(this.options.disabled||b.altKey||b.ctrlKey)<span class="keywordflow">return</span>;var c=a.ui.keyCode,d=this.headers.length,e=this.headers.index(b.target),f=!1;<span class="keywordflow">switch</span>(b.keyCode){<span class="keywordflow">case</span> c.RIGHT:<span class="keywordflow">case</span> c.DOWN:f=this.headers[(e+1)%d];<span class="keywordflow">break</span>;<span class="keywordflow">case</span> c.LEFT:<span class="keywordflow">case</span> c.UP:f=this.headers[(e-1+d)%d];<span class="keywordflow">break</span>;<span class="keywordflow">case</span> c.SPACE:<span class="keywordflow">case</span> c.ENTER:this._clickHandler({target:b.target},b.target),b.preventDefault()}<span class="keywordflow">return</span> f?(a(b.target).attr(<span class="stringliteral">&quot;tabIndex&quot;</span>,-1),a(f).attr(<span class="stringliteral">&quot;tabIndex&quot;</span>,0),f.focus(),!1):!0},resize:<span class="keyword">function</span>(){var b=this.options,c;<span class="keywordflow">if</span>(b.fillSpace){<span class="keywordflow">if</span>(a.browser.msie){var d=this.element.parent().css(<span class="stringliteral">&quot;overflow&quot;</span>);this.element.parent().css(<span class="stringliteral">&quot;overflow&quot;</span>,<span class="stringliteral">&quot;hidden&quot;</span>)}c=this.element.parent().height(),a.browser.msie&amp;&amp;this.element.parent().css(<span class="stringliteral">&quot;overflow&quot;</span>,d),this.headers.each(<span class="keyword">function</span>(){c-=a(<span class="keyword">this</span>).outerHeight(!0)}),this.headers.next().each(<span class="keyword">function</span>(){a(<span class="keyword">this</span>).height(Math.max(0,c-a(<span class="keyword">this</span>).innerHeight()+a(<span class="keyword">this</span>).height()))}).css(<span class="stringliteral">&quot;overflow&quot;</span>,<span class="stringliteral">&quot;auto&quot;</span>)}<span class="keywordflow">else</span> b.autoHeight&amp;&amp;(c=0,this.headers.next().each(<span class="keyword">function</span>(){c=Math.max(c,a(<span class="keyword">this</span>).height(<span class="stringliteral">&quot;&quot;</span>).height())}).height(c));<span class="keywordflow">return</span> <span class="keyword">this</span>},activate:<span class="keyword">function</span>(a){this.options.active=a;var b=this._findActive(a)[0];<span class="keywordflow">return</span> this._clickHandler({target:b},b),<span class="keyword">this</span>},_findActive:<span class="keyword">function</span>(b){<span class="keywordflow">return</span> b?typeof b==<span class="stringliteral">&quot;number&quot;</span>?this.headers.filter(<span class="stringliteral">&quot;:eq(&quot;</span>+b+<span class="stringliteral">&quot;)&quot;</span>):this.headers.not(this.headers.not(b)):b===!1?a([]):this.headers.filter(<span class="stringliteral">&quot;:eq(0)&quot;</span>)},_clickHandler:<span class="keyword">function</span>(b,c){var d=this.options;<span class="keywordflow">if</span>(d.disabled)<span class="keywordflow">return</span>;<span class="keywordflow">if</span>(!b.target){<span class="keywordflow">if</span>(!d.collapsible)<span class="keywordflow">return</span>;this.active.removeClass(<span class="stringliteral">&quot;ui-state-active ui-corner-top&quot;</span>).addClass(<span class="stringliteral">&quot;ui-state-default ui-corner-all&quot;</span>).children(<span class="stringliteral">&quot;.ui-icon&quot;</span>).removeClass(d.icons.headerSelected).addClass(d.icons.header),this.active.next().addClass(<span class="stringliteral">&quot;ui-accordion-content-active&quot;</span>);var e=this.active.next(),f={options:d,newHeader:a([]),oldHeader:d.active,newContent:a([]),oldContent:e},g=this.active=a([]);this._toggle(g,e,f);<span class="keywordflow">return</span>}var h=a(b.currentTarget||c),i=h[0]===this.active[0];d.active=d.collapsible&amp;&amp;i?!1:this.headers.index(h);<span class="keywordflow">if</span>(this.running||!d.collapsible&amp;&amp;i)<span class="keywordflow">return</span>;var j=this.active,g=h.next(),e=this.active.next(),f={options:d,newHeader:i&amp;&amp;d.collapsible?a([]):h,oldHeader:this.active,newContent:i&amp;&amp;d.collapsible?a([]):g,oldContent:e},k=this.headers.index(this.active[0])&gt;this.headers.index(h[0]);this.active=i?a([]):h,this._toggle(g,e,f,i,k),j.removeClass(<span class="stringliteral">&quot;ui-state-active ui-corner-top&quot;</span>).addClass(<span class="stringliteral">&quot;ui-state-default ui-corner-all&quot;</span>).children(<span class="stringliteral">&quot;.ui-icon&quot;</span>).removeClass(d.icons.headerSelected).addClass(d.icons.header),i||(h.removeClass(<span class="stringliteral">&quot;ui-state-default ui-corner-all&quot;</span>).addClass(<span class="stringliteral">&quot;ui-state-active ui-corner-top&quot;</span>).children(<span class="stringliteral">&quot;.ui-icon&quot;</span>).removeClass(d.icons.header).addClass(d.icons.headerSelected),h.next().addClass(<span class="stringliteral">&quot;ui-accordion-content-active&quot;</span>));<span class="keywordflow">return</span>},_toggle:<span class="keyword">function</span>(b,c,d,e,f){var g=<span class="keyword">this</span>,h=g.options;g.toShow=b,g.toHide=c,g.data=d;var i=<span class="keyword">function</span>(){<span class="keywordflow">if</span>(!g)<span class="keywordflow">return</span>;<span class="keywordflow">return</span> g._completed.apply(g,arguments)};g._trigger(<span class="stringliteral">&quot;changestart&quot;</span>,null,g.data),g.running=c.size()===0?b.size():c.size();<span class="keywordflow">if</span>(h.animated){var j={};h.collapsible&amp;&amp;e?j={toShow:a([]),toHide:c,complete:i,down:f,autoHeight:h.autoHeight||h.fillSpace}:j={toShow:b,toHide:c,complete:i,down:f,autoHeight:h.autoHeight||h.fillSpace},h.proxied||(h.proxied=h.animated),h.proxiedDuration||(h.proxiedDuration=h.duration),h.animated=a.isFunction(h.proxied)?h.proxied(j):h.proxied,h.duration=a.isFunction(h.proxiedDuration)?h.proxiedDuration(j):h.proxiedDuration;var k=a.ui.accordion.animations,l=h.duration,m=h.animated;m&amp;&amp;!k[m]&amp;&amp;!a.easing[m]&amp;&amp;(m=<span class="stringliteral">&quot;slide&quot;</span>),k[m]||(k[m]=<span class="keyword">function</span>(a){this.slide(a,{easing:m,duration:l||700})}),k[m](j)}<span class="keywordflow">else</span> h.collapsible&amp;&amp;e?b.toggle():(c.hide(),b.show()),i(!0);c.prev().attr({<span class="stringliteral">&quot;aria-expanded&quot;</span>:<span class="stringliteral">&quot;false&quot;</span>,<span class="stringliteral">&quot;aria-selected&quot;</span>:<span class="stringliteral">&quot;false&quot;</span>,tabIndex:-1}).blur(),b.prev().attr({<span class="stringliteral">&quot;aria-expanded&quot;</span>:<span class="stringliteral">&quot;true&quot;</span>,<span class="stringliteral">&quot;aria-selected&quot;</span>:<span class="stringliteral">&quot;true&quot;</span>,tabIndex:0}).focus()},_completed:<span class="keyword">function</span>(a){this.running=a?0:--this.running;<span class="keywordflow">if</span>(this.running)<span class="keywordflow">return</span>;this.options.clearStyle&amp;&amp;this.toShow.add(this.toHide).css({height:<span class="stringliteral">&quot;&quot;</span>,overflow:<span class="stringliteral">&quot;&quot;</span>}),this.toHide.removeClass(<span class="stringliteral">&quot;ui-accordion-content-active&quot;</span>),this.toHide.length&amp;&amp;(this.toHide.parent()[0].className=this.toHide.parent()[0].className),this._trigger(<span class="stringliteral">&quot;change&quot;</span>,null,this.data)}}),a.extend(a.ui.accordion,{version:<span class="stringliteral">&quot;1.8.20&quot;</span>,animations:{slide:<span class="keyword">function</span>(b,c){b=a.extend({easing:<span class="stringliteral">&quot;swing&quot;</span>,duration:300},b,c);<span class="keywordflow">if</span>(!b.toHide.size()){b.toShow.animate({height:<span class="stringliteral">&quot;show&quot;</span>,paddingTop:<span class="stringliteral">&quot;show&quot;</span>,paddingBottom:<span class="stringliteral">&quot;show&quot;</span>},b);<span class="keywordflow">return</span>}<span class="keywordflow">if</span>(!b.toShow.size()){b.toHide.animate({height:<span class="stringliteral">&quot;hide&quot;</span>,paddingTop:<span class="stringliteral">&quot;hide&quot;</span>,paddingBottom:<span class="stringliteral">&quot;hide&quot;</span>},b);<span class="keywordflow">return</span>}var d=b.toShow.css(<span class="stringliteral">&quot;overflow&quot;</span>),e=0,f={},g={},h=[<span class="stringliteral">&quot;height&quot;</span>,<span class="stringliteral">&quot;paddingTop&quot;</span>,<span class="stringliteral">&quot;paddingBottom&quot;</span>],i,j=b.toShow;i=j[0].style.width,j.width(j.parent().width()-parseFloat(j.css(<span class="stringliteral">&quot;paddingLeft&quot;</span>))-parseFloat(j.css(<span class="stringliteral">&quot;paddingRight&quot;</span>))-(parseFloat(j.css(<span class="stringliteral">&quot;borderLeftWidth&quot;</span>))||0)-(parseFloat(j.css(<span class="stringliteral">&quot;borderRightWidth&quot;</span>))||0)),a.each(h,<span class="keyword">function</span>(c,d){g[d]=<span class="stringliteral">&quot;hide&quot;</span>;var e=(<span class="stringliteral">&quot;&quot;</span>+a.css(b.toShow[0],d)).match(/^([\d+-.]+)(.*)$/);f[d]={value:e[1],unit:e[2]||<span class="stringliteral">&quot;px&quot;</span>}}),b.toShow.css({height:0,overflow:<span class="stringliteral">&quot;hidden&quot;</span>}).show(),b.toHide.filter(<span class="stringliteral">&quot;:hidden&quot;</span>).each(b.complete).end().filter(<span class="stringliteral">&quot;:visible&quot;</span>).animate(g,{step:<span class="keyword">function</span>(a,c){c.prop==<span class="stringliteral">&quot;height&quot;</span>&amp;&amp;(e=c.end-c.start===0?0:(c.now-c.start)/(c.end-c.start)),b.toShow[0].style[c.prop]=e*f[c.prop].value+f[c.prop].unit},duration:b.duration,easing:b.easing,complete:<span class="keyword">function</span>(){b.autoHeight||b.toShow.css(<span class="stringliteral">&quot;height&quot;</span>,<span class="stringliteral">&quot;&quot;</span>),b.toShow.css({width:i,overflow:d}),b.complete()}})},bounceslide:<span class="keyword">function</span>(a){this.slide(a,{easing:a.down?<span class="stringliteral">&quot;easeOutBounce&quot;</span>:<span class="stringliteral">&quot;swing&quot;</span>,duration:a.down?1e3:200})}}})}(jQuery),<span class="keyword">function</span>(a,b){var c=0;a.widget(<span class="stringliteral">&quot;ui.autocomplete&quot;</span>,{options:{appendTo:<span class="stringliteral">&quot;body&quot;</span>,autoFocus:!1,delay:300,minLength:1,position:{my:<span class="stringliteral">&quot;left top&quot;</span>,at:<span class="stringliteral">&quot;left bottom&quot;</span>,collision:<span class="stringliteral">&quot;none&quot;</span>},source:null},pending:0,_create:<span class="keyword">function</span>(){var b=<span class="keyword">this</span>,c=this.element[0].ownerDocument,d;this.isMultiLine=this.element.is(<span class="stringliteral">&quot;textarea&quot;</span>),this.element.addClass(<span class="stringliteral">&quot;ui-autocomplete-input&quot;</span>).attr(<span class="stringliteral">&quot;autocomplete&quot;</span>,<span class="stringliteral">&quot;off&quot;</span>).attr({role:<span class="stringliteral">&quot;textbox&quot;</span>,<span class="stringliteral">&quot;aria-autocomplete&quot;</span>:<span class="stringliteral">&quot;list&quot;</span>,<span class="stringliteral">&quot;aria-haspopup&quot;</span>:<span class="stringliteral">&quot;true&quot;</span>}).bind(<span class="stringliteral">&quot;keydown.autocomplete&quot;</span>,<span class="keyword">function</span>(c){<span class="keywordflow">if</span>(b.options.disabled||b.element.propAttr(<span class="stringliteral">&quot;readOnly&quot;</span>))<span class="keywordflow">return</span>;d=!1;var e=a.ui.keyCode;<span class="keywordflow">switch</span>(c.keyCode){<span class="keywordflow">case</span> e.PAGE_UP:b._move(<span class="stringliteral">&quot;previousPage&quot;</span>,c);<span class="keywordflow">break</span>;<span class="keywordflow">case</span> e.PAGE_DOWN:b._move(<span class="stringliteral">&quot;nextPage&quot;</span>,c);<span class="keywordflow">break</span>;<span class="keywordflow">case</span> e.UP:b._keyEvent(<span class="stringliteral">&quot;previous&quot;</span>,c);<span class="keywordflow">break</span>;<span class="keywordflow">case</span> e.DOWN:b._keyEvent(<span class="stringliteral">&quot;next&quot;</span>,c);<span class="keywordflow">break</span>;<span class="keywordflow">case</span> e.ENTER:<span class="keywordflow">case</span> e.NUMPAD_ENTER:b.menu.active&amp;&amp;(d=!0,c.preventDefault());<span class="keywordflow">case</span> e.TAB:<span class="keywordflow">if</span>(!b.menu.active)<span class="keywordflow">return</span>;b.menu.select(c);<span class="keywordflow">break</span>;<span class="keywordflow">case</span> e.ESCAPE:b.element.val(b.term),b.close(c);<span class="keywordflow">break</span>;<span class="keywordflow">default</span>:clearTimeout(b.searching),b.searching=setTimeout(<span class="keyword">function</span>(){b.term!=b.element.val()&amp;&amp;(b.selectedItem=null,b.search(null,c))},b.options.delay)}}).bind(<span class="stringliteral">&quot;keypress.autocomplete&quot;</span>,<span class="keyword">function</span>(a){d&amp;&amp;(d=!1,a.preventDefault())}).bind(<span class="stringliteral">&quot;focus.autocomplete&quot;</span>,<span class="keyword">function</span>(){<span class="keywordflow">if</span>(b.options.disabled)<span class="keywordflow">return</span>;b.selectedItem=null,b.previous=b.element.val()}).bind(<span class="stringliteral">&quot;blur.autocomplete&quot;</span>,<span class="keyword">function</span>(a){<span class="keywordflow">if</span>(b.options.disabled)<span class="keywordflow">return</span>;clearTimeout(b.searching),b.closing=setTimeout(<span class="keyword">function</span>(){b.close(a),b._change(a)},150)}),this._initSource(),this.menu=a(<span class="stringliteral">&quot;&lt;ul&gt;&lt;/ul&gt;&quot;</span>).addClass(<span class="stringliteral">&quot;ui-autocomplete&quot;</span>).appendTo(a(this.options.appendTo||<span class="stringliteral">&quot;body&quot;</span>,c)[0]).mousedown(<span class="keyword">function</span>(c){var d=b.menu.element[0];a(c.target).closest(<span class="stringliteral">&quot;.ui-menu-item&quot;</span>).length||setTimeout(<span class="keyword">function</span>(){a(document).one(<span class="stringliteral">&quot;mousedown&quot;</span>,<span class="keyword">function</span>(c){c.target!==b.element[0]&amp;&amp;c.target!==d&amp;&amp;!a.ui.contains(d,c.target)&amp;&amp;b.close()})},1),setTimeout(<span class="keyword">function</span>(){clearTimeout(b.closing)},13)}).menu({focus:<span class="keyword">function</span>(a,c){var d=c.item.data(<span class="stringliteral">&quot;item.autocomplete&quot;</span>);!1!==b._trigger(<span class="stringliteral">&quot;focus&quot;</span>,a,{item:d})&amp;&amp;/^key/.test(a.originalEvent.type)&amp;&amp;b.element.val(d.value)},selected:<span class="keyword">function</span>(a,d){var e=d.item.data(<span class="stringliteral">&quot;item.autocomplete&quot;</span>),f=b.previous;b.element[0]!==c.activeElement&amp;&amp;(b.element.focus(),b.previous=f,setTimeout(<span class="keyword">function</span>(){b.previous=f,b.selectedItem=e},1)),!1!==b._trigger(<span class="stringliteral">&quot;select&quot;</span>,a,{item:e})&amp;&amp;b.element.val(e.value),b.term=b.element.val(),b.close(a),b.selectedItem=e},blur:<span class="keyword">function</span>(a,c){b.menu.element.is(<span class="stringliteral">&quot;:visible&quot;</span>)&amp;&amp;b.element.val()!==b.term&amp;&amp;b.element.val(b.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data(<span class="stringliteral">&quot;menu&quot;</span>),a.fn.bgiframe&amp;&amp;this.menu.element.bgiframe(),b.beforeunloadHandler=<span class="keyword">function</span>(){b.element.removeAttr(<span class="stringliteral">&quot;autocomplete&quot;</span>)},a(window).bind(<span class="stringliteral">&quot;beforeunload&quot;</span>,b.beforeunloadHandler)},destroy:<span class="keyword">function</span>(){this.element.removeClass(<span class="stringliteral">&quot;ui-autocomplete-input&quot;</span>).removeAttr(<span class="stringliteral">&quot;autocomplete&quot;</span>).removeAttr(<span class="stringliteral">&quot;role&quot;</span>).removeAttr(<span class="stringliteral">&quot;aria-autocomplete&quot;</span>).removeAttr(<span class="stringliteral">&quot;aria-haspopup&quot;</span>),this.menu.element.remove(),a(window).unbind(<span class="stringliteral">&quot;beforeunload&quot;</span>,this.beforeunloadHandler),a.Widget.prototype.destroy.call(<span class="keyword">this</span>)},_setOption:<span class="keyword">function</span>(b,c){a.Widget.prototype._setOption.apply(<span class="keyword">this</span>,arguments),b===<span class="stringliteral">&quot;source&quot;</span>&amp;&amp;this._initSource(),b===<span class="stringliteral">&quot;appendTo&quot;</span>&amp;&amp;this.menu.element.appendTo(a(c||<span class="stringliteral">&quot;body&quot;</span>,this.element[0].ownerDocument)[0]),b===<span class="stringliteral">&quot;disabled&quot;</span>&amp;&amp;c&amp;&amp;this.xhr&amp;&amp;this.xhr.abort()},_initSource:<span class="keyword">function</span>(){var b=<span class="keyword">this</span>,c,d;a.isArray(this.options.source)?(c=this.options.source,this.source=<span class="keyword">function</span>(b,d){d(a.ui.autocomplete.filter(c,b.term))}):typeof this.options.source==<span class="stringliteral">&quot;string&quot;</span>?(d=this.options.source,this.source=<span class="keyword">function</span>(c,e){b.xhr&amp;&amp;b.xhr.abort(),b.xhr=a.ajax({url:d,data:c,dataType:<span class="stringliteral">&quot;json&quot;</span>,success:<span class="keyword">function</span>(a,b){e(a)},error:<span class="keyword">function</span>(){e([])}})}):this.source=this.options.source},search:<span class="keyword">function</span>(a,b){a=a!=null?a:this.element.val(),this.term=this.element.val();<span class="keywordflow">if</span>(a.length&lt;<span class="keyword">this</span>.options.minLength)<span class="keywordflow">return</span> this.close(b);clearTimeout(this.closing);<span class="keywordflow">if</span>(this._trigger(<span class="stringliteral">&quot;search&quot;</span>,b)===!1)<span class="keywordflow">return</span>;<span class="keywordflow">return</span> this._search(a)},_search:<span class="keyword">function</span>(a){this.pending++,this.element.addClass(<span class="stringliteral">&quot;ui-autocomplete-loading&quot;</span>),this.source({term:a},this._response())},_response:<span class="keyword">function</span>(){var a=<span class="keyword">this</span>,b=++c;<span class="keywordflow">return</span> <span class="keyword">function</span>(d){b===c&amp;&amp;a.__response(d),a.pending--,a.pending||a.element.removeClass(<span class="stringliteral">&quot;ui-autocomplete-loading&quot;</span>)}},__response:<span class="keyword">function</span>(a){!this.options.disabled&amp;&amp;a&amp;&amp;a.length?(a=this._normalize(a),this._suggest(a),this._trigger(<span class="stringliteral">&quot;open&quot;</span>)):this.close()},close:<span class="keyword">function</span>(a){clearTimeout(this.closing),this.menu.element.is(<span class="stringliteral">&quot;:visible&quot;</span>)&amp;&amp;(this.menu.element.hide(),this.menu.deactivate(),this._trigger(<span class="stringliteral">&quot;close&quot;</span>,a))},_change:<span class="keyword">function</span>(a){this.previous!==this.element.val()&amp;&amp;this._trigger(<span class="stringliteral">&quot;change&quot;</span>,a,{item:this.selectedItem})},_normalize:<span class="keyword">function</span>(b){<span class="keywordflow">return</span> b.length&amp;&amp;b[0].label&amp;&amp;b[0].value?b:a.map(b,<span class="keyword">function</span>(b){<span class="keywordflow">return</span> typeof b==<span class="stringliteral">&quot;string&quot;</span>?{label:b,value:b}:a.extend({label:b.label||b.value,value:b.value||b.label},b)})},_suggest:<span class="keyword">function</span>(b){var c=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(c,b),this.menu.deactivate(),this.menu.refresh(),c.show(),this._resizeMenu(),c.position(a.extend({of:<span class="keyword">this</span>.element},this.options.position)),this.options.autoFocus&amp;&amp;this.menu.next(<span class="keyword">new</span> a.Event(<span class="stringliteral">&quot;mouseover&quot;</span>))},_resizeMenu:<span class="keyword">function</span>(){var a=this.menu.element;a.outerWidth(Math.max(a.width(<span class="stringliteral">&quot;&quot;</span>).outerWidth()+1,this.element.outerWidth()))},_renderMenu:<span class="keyword">function</span>(b,c){var d=<span class="keyword">this</span>;a.each(c,<span class="keyword">function</span>(a,c){d._renderItem(b,c)})},_renderItem:<span class="keyword">function</span>(b,c){<span class="keywordflow">return</span> a(<span class="stringliteral">&quot;&lt;li&gt;&lt;/li&gt;&quot;</span>).data(<span class="stringliteral">&quot;item.autocomplete&quot;</span>,c).append(a(<span class="stringliteral">&quot;&lt;a&gt;&lt;/a&gt;&quot;</span>).text(c.label)).appendTo(b)},_move:<span class="keyword">function</span>(a,b){<span class="keywordflow">if</span>(!this.menu.element.is(<span class="stringliteral">&quot;:visible&quot;</span>)){this.search(null,b);<span class="keywordflow">return</span>}<span class="keywordflow">if</span>(this.menu.first()&amp;&amp;/^previous/.test(a)||this.menu.last()&amp;&amp;/^next/.test(a)){this.element.val(this.term),this.menu.deactivate();<span class="keywordflow">return</span>}this.menu[a](b)},widget:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.menu.element},_keyEvent:<span class="keyword">function</span>(a,b){<span class="keywordflow">if</span>(!this.isMultiLine||this.menu.element.is(<span class="stringliteral">&quot;:visible&quot;</span>))this._move(a,b),b.preventDefault()}}),a.extend(a.ui.autocomplete,{escapeRegex:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,<span class="stringliteral">&quot;\\$&amp;&quot;</span>)},filter:<span class="keyword">function</span>(b,c){var d=<span class="keyword">new</span> RegExp(a.ui.autocomplete.escapeRegex(c),<span class="stringliteral">&quot;i&quot;</span>);<span class="keywordflow">return</span> a.grep(b,<span class="keyword">function</span>(a){<span class="keywordflow">return</span> d.test(a.label||a.value||a)})}})}(jQuery),<span class="keyword">function</span>(a){a.widget(<span class="stringliteral">&quot;ui.menu&quot;</span>,{_create:<span class="keyword">function</span>(){var b=<span class="keyword">this</span>;this.element.addClass(<span class="stringliteral">&quot;ui-menu ui-widget ui-widget-content ui-corner-all&quot;</span>).attr({role:<span class="stringliteral">&quot;listbox&quot;</span>,<span class="stringliteral">&quot;aria-activedescendant&quot;</span>:<span class="stringliteral">&quot;ui-active-menuitem&quot;</span>}).click(<span class="keyword">function</span>(c){<span class="keywordflow">if</span>(!a(c.target).closest(<span class="stringliteral">&quot;.ui-menu-item a&quot;</span>).length)<span class="keywordflow">return</span>;c.preventDefault(),b.select(c)}),this.refresh()},refresh:<span class="keyword">function</span>(){var b=<span class="keyword">this</span>,c=this.element.children(<span class="stringliteral">&quot;li:not(.ui-menu-item):has(a)&quot;</span>).addClass(<span class="stringliteral">&quot;ui-menu-item&quot;</span>).attr(<span class="stringliteral">&quot;role&quot;</span>,<span class="stringliteral">&quot;menuitem&quot;</span>);c.children(<span class="stringliteral">&quot;a&quot;</span>).addClass(<span class="stringliteral">&quot;ui-corner-all&quot;</span>).attr(<span class="stringliteral">&quot;tabindex&quot;</span>,-1).mouseenter(<span class="keyword">function</span>(c){b.activate(c,a(<span class="keyword">this</span>).parent())}).mouseleave(<span class="keyword">function</span>(){b.deactivate()})},activate:<span class="keyword">function</span>(a,b){this.deactivate();<span class="keywordflow">if</span>(this.hasScroll()){var c=b.offset().top-this.element.offset().top,d=this.element.scrollTop(),e=this.element.height();c&lt;0?this.element.scrollTop(d+c):c&gt;=e&amp;&amp;this.element.scrollTop(d+c-e+b.height())}this.active=b.eq(0).children(<span class="stringliteral">&quot;a&quot;</span>).addClass(<span class="stringliteral">&quot;ui-state-hover&quot;</span>).attr(<span class="stringliteral">&quot;id&quot;</span>,<span class="stringliteral">&quot;ui-active-menuitem&quot;</span>).end(),this._trigger(<span class="stringliteral">&quot;focus&quot;</span>,a,{item:b})},deactivate:<span class="keyword">function</span>(){<span class="keywordflow">if</span>(!this.active)<span class="keywordflow">return</span>;this.active.children(<span class="stringliteral">&quot;a&quot;</span>).removeClass(<span class="stringliteral">&quot;ui-state-hover&quot;</span>).removeAttr(<span class="stringliteral">&quot;id&quot;</span>),this._trigger(<span class="stringliteral">&quot;blur&quot;</span>),this.active=null},next:<span class="keyword">function</span>(a){this.move(<span class="stringliteral">&quot;next&quot;</span>,<span class="stringliteral">&quot;.ui-menu-item:first&quot;</span>,a)},previous:<span class="keyword">function</span>(a){this.move(<span class="stringliteral">&quot;prev&quot;</span>,<span class="stringliteral">&quot;.ui-menu-item:last&quot;</span>,a)},first:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.active&amp;&amp;!this.active.prevAll(<span class="stringliteral">&quot;.ui-menu-item&quot;</span>).length},last:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.active&amp;&amp;!this.active.nextAll(<span class="stringliteral">&quot;.ui-menu-item&quot;</span>).length},move:<span class="keyword">function</span>(a,b,c){<span class="keywordflow">if</span>(!this.active){this.activate(c,this.element.children(b));<span class="keywordflow">return</span>}var d=this.active[a+<span class="stringliteral">&quot;All&quot;</span>](<span class="stringliteral">&quot;.ui-menu-item&quot;</span>).eq(0);d.length?this.activate(c,d):this.activate(c,this.element.children(b))},nextPage:function(b){<span class="keywordflow">if</span>(this.hasScroll()){<span class="keywordflow">if</span>(!this.active||this.last()){this.activate(b,this.element.children(<span class="stringliteral">&quot;.ui-menu-item:first&quot;</span>));<span class="keywordflow">return</span>}var c=this.active.offset().top,d=this.element.height(),e=this.element.children(<span class="stringliteral">&quot;.ui-menu-item&quot;</span>).filter(<span class="keyword">function</span>(){var b=a(<span class="keyword">this</span>).offset().top-c-d+a(<span class="keyword">this</span>).height();<span class="keywordflow">return</span> b&lt;10&amp;&amp;b&gt;-10});e.length||(e=this.element.children(<span class="stringliteral">&quot;.ui-menu-item:last&quot;</span>)),this.activate(b,e)}<span class="keywordflow">else</span> this.activate(b,this.element.children(<span class="stringliteral">&quot;.ui-menu-item&quot;</span>).filter(!this.active||this.last()?<span class="stringliteral">&quot;:first&quot;</span>:<span class="stringliteral">&quot;:last&quot;</span>))},previousPage:<span class="keyword">function</span>(b){<span class="keywordflow">if</span>(this.hasScroll()){<span class="keywordflow">if</span>(!this.active||this.first()){this.activate(b,this.element.children(<span class="stringliteral">&quot;.ui-menu-item:last&quot;</span>));<span class="keywordflow">return</span>}var c=this.active.offset().top,d=this.element.height(),e=this.element.children(<span class="stringliteral">&quot;.ui-menu-item&quot;</span>).filter(<span class="keyword">function</span>(){var b=a(<span class="keyword">this</span>).offset().top-c+d-a(<span class="keyword">this</span>).height();<span class="keywordflow">return</span> b&lt;10&amp;&amp;b&gt;-10});e.length||(e=this.element.children(<span class="stringliteral">&quot;.ui-menu-item:first&quot;</span>)),this.activate(b,e)}<span class="keywordflow">else</span> this.activate(b,this.element.children(<span class="stringliteral">&quot;.ui-menu-item&quot;</span>).filter(!this.active||this.first()?<span class="stringliteral">&quot;:last&quot;</span>:<span class="stringliteral">&quot;:first&quot;</span>))},hasScroll:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.element.height()&lt;this.element[a.fn.prop?<span class="stringliteral">&quot;prop&quot;</span>:<span class="stringliteral">&quot;attr&quot;</span>](<span class="stringliteral">&quot;scrollHeight&quot;</span>)},select:<span class="keyword">function</span>(a){this._trigger(<span class="stringliteral">&quot;selected&quot;</span>,a,{item:this.active})}})}(jQuery),<span class="keyword">function</span>(a,b){var c,d,e,f,g=<span class="stringliteral">&quot;ui-button ui-widget ui-state-default ui-corner-all&quot;</span>,h=<span class="stringliteral">&quot;ui-state-hover ui-state-active &quot;</span>,i=<span class="stringliteral">&quot;ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only&quot;</span>,j=<span class="keyword">function</span>(){var b=a(<span class="keyword">this</span>).find(<span class="stringliteral">&quot;:ui-button&quot;</span>);setTimeout(<span class="keyword">function</span>(){b.button(<span class="stringliteral">&quot;refresh&quot;</span>)},1)},k=<span class="keyword">function</span>(b){var c=b.name,d=b.form,e=a([]);<span class="keywordflow">return</span> c&amp;&amp;(d?e=a(d).find(<span class="stringliteral">&quot;[name=&#39;&quot;</span>+c+<span class="stringliteral">&quot;&#39;]&quot;</span>):e=a(<span class="stringliteral">&quot;[name=&#39;&quot;</span>+c+<span class="stringliteral">&quot;&#39;]&quot;</span>,b.ownerDocument).filter(<span class="keyword">function</span>(){<span class="keywordflow">return</span>!this.form})),e};a.widget(<span class="stringliteral">&quot;ui.button&quot;</span>,{options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:<span class="keyword">function</span>(){this.element.closest(<span class="stringliteral">&quot;form&quot;</span>).unbind(<span class="stringliteral">&quot;reset.button&quot;</span>).bind(<span class="stringliteral">&quot;reset.button&quot;</span>,j),typeof this.options.disabled!=<span class="stringliteral">&quot;boolean&quot;</span>?this.options.disabled=!!this.element.propAttr(<span class="stringliteral">&quot;disabled&quot;</span>):this.element.propAttr(<span class="stringliteral">&quot;disabled&quot;</span>,this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr(<span class="stringliteral">&quot;title&quot;</span>);var b=<span class="keyword">this</span>,h=this.options,i=this.type===<span class="stringliteral">&quot;checkbox&quot;</span>||this.type===<span class="stringliteral">&quot;radio&quot;</span>,l=<span class="stringliteral">&quot;ui-state-hover&quot;</span>+(i?<span class="stringliteral">&quot;&quot;</span>:<span class="stringliteral">&quot; ui-state-active&quot;</span>),m=<span class="stringliteral">&quot;ui-state-focus&quot;</span>;h.label===null&amp;&amp;(h.label=this.buttonElement.html()),this.buttonElement.addClass(g).attr(<span class="stringliteral">&quot;role&quot;</span>,<span class="stringliteral">&quot;button&quot;</span>).bind(<span class="stringliteral">&quot;mouseenter.button&quot;</span>,<span class="keyword">function</span>(){<span class="keywordflow">if</span>(h.disabled)<span class="keywordflow">return</span>;a(<span class="keyword">this</span>).addClass(<span class="stringliteral">&quot;ui-state-hover&quot;</span>),<span class="keyword">this</span>===c&amp;&amp;a(<span class="keyword">this</span>).addClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>)}).bind(<span class="stringliteral">&quot;mouseleave.button&quot;</span>,<span class="keyword">function</span>(){<span class="keywordflow">if</span>(h.disabled)<span class="keywordflow">return</span>;a(<span class="keyword">this</span>).removeClass(l)}).bind(<span class="stringliteral">&quot;click.button&quot;</span>,<span class="keyword">function</span>(a){h.disabled&amp;&amp;(a.preventDefault(),a.stopImmediatePropagation())}),this.element.bind(<span class="stringliteral">&quot;focus.button&quot;</span>,<span class="keyword">function</span>(){b.buttonElement.addClass(m)}).bind(<span class="stringliteral">&quot;blur.button&quot;</span>,<span class="keyword">function</span>(){b.buttonElement.removeClass(m)}),i&amp;&amp;(this.element.bind(<span class="stringliteral">&quot;change.button&quot;</span>,<span class="keyword">function</span>(){<span class="keywordflow">if</span>(f)<span class="keywordflow">return</span>;b.refresh()}),this.buttonElement.bind(<span class="stringliteral">&quot;mousedown.button&quot;</span>,<span class="keyword">function</span>(a){<span class="keywordflow">if</span>(h.disabled)<span class="keywordflow">return</span>;f=!1,d=a.pageX,e=a.pageY}).bind(<span class="stringliteral">&quot;mouseup.button&quot;</span>,<span class="keyword">function</span>(a){<span class="keywordflow">if</span>(h.disabled)<span class="keywordflow">return</span>;<span class="keywordflow">if</span>(d!==a.pageX||e!==a.pageY)f=!0})),this.type===<span class="stringliteral">&quot;checkbox&quot;</span>?this.buttonElement.bind(<span class="stringliteral">&quot;click.button&quot;</span>,<span class="keyword">function</span>(){<span class="keywordflow">if</span>(h.disabled||f)<span class="keywordflow">return</span>!1;a(<span class="keyword">this</span>).toggleClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>),b.buttonElement.attr(<span class="stringliteral">&quot;aria-pressed&quot;</span>,b.element[0].checked)}):this.type===<span class="stringliteral">&quot;radio&quot;</span>?this.buttonElement.bind(<span class="stringliteral">&quot;click.button&quot;</span>,<span class="keyword">function</span>(){<span class="keywordflow">if</span>(h.disabled||f)<span class="keywordflow">return</span>!1;a(<span class="keyword">this</span>).addClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>),b.buttonElement.attr(<span class="stringliteral">&quot;aria-pressed&quot;</span>,<span class="stringliteral">&quot;true&quot;</span>);var c=b.element[0];k(c).not(c).map(<span class="keyword">function</span>(){<span class="keywordflow">return</span> a(<span class="keyword">this</span>).button(<span class="stringliteral">&quot;widget&quot;</span>)[0]}).removeClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>).attr(<span class="stringliteral">&quot;aria-pressed&quot;</span>,<span class="stringliteral">&quot;false&quot;</span>)}):(this.buttonElement.bind(<span class="stringliteral">&quot;mousedown.button&quot;</span>,<span class="keyword">function</span>(){<span class="keywordflow">if</span>(h.disabled)<span class="keywordflow">return</span>!1;a(<span class="keyword">this</span>).addClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>),c=<span class="keyword">this</span>,a(document).one(<span class="stringliteral">&quot;mouseup&quot;</span>,<span class="keyword">function</span>(){c=null})}).bind(<span class="stringliteral">&quot;mouseup.button&quot;</span>,<span class="keyword">function</span>(){<span class="keywordflow">if</span>(h.disabled)<span class="keywordflow">return</span>!1;a(<span class="keyword">this</span>).removeClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>)}).bind(<span class="stringliteral">&quot;keydown.button&quot;</span>,<span class="keyword">function</span>(b){<span class="keywordflow">if</span>(h.disabled)<span class="keywordflow">return</span>!1;(b.keyCode==a.ui.keyCode.SPACE||b.keyCode==a.ui.keyCode.ENTER)&amp;&amp;a(<span class="keyword">this</span>).addClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>)}).bind(<span class="stringliteral">&quot;keyup.button&quot;</span>,<span class="keyword">function</span>(){a(<span class="keyword">this</span>).removeClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>)}),this.buttonElement.is(<span class="stringliteral">&quot;a&quot;</span>)&amp;&amp;this.buttonElement.keyup(<span class="keyword">function</span>(b){b.keyCode===a.ui.keyCode.SPACE&amp;&amp;a(<span class="keyword">this</span>).click()})),this._setOption(<span class="stringliteral">&quot;disabled&quot;</span>,h.disabled),this._resetButton()},_determineButtonType:<span class="keyword">function</span>(){this.element.is(<span class="stringliteral">&quot;:checkbox&quot;</span>)?this.type=<span class="stringliteral">&quot;checkbox&quot;</span>:this.element.is(<span class="stringliteral">&quot;:radio&quot;</span>)?this.type=<span class="stringliteral">&quot;radio&quot;</span>:this.element.is(<span class="stringliteral">&quot;input&quot;</span>)?this.type=<span class="stringliteral">&quot;input&quot;</span>:this.type=<span class="stringliteral">&quot;button&quot;</span>;<span class="keywordflow">if</span>(this.type===<span class="stringliteral">&quot;checkbox&quot;</span>||this.type===<span class="stringliteral">&quot;radio&quot;</span>){var a=this.element.parents().filter(<span class="stringliteral">&quot;:last&quot;</span>),b=<span class="stringliteral">&quot;label[for=&#39;&quot;</span>+this.element.attr(<span class="stringliteral">&quot;id&quot;</span>)+<span class="stringliteral">&quot;&#39;]&quot;</span>;this.buttonElement=a.find(b),this.buttonElement.length||(a=a.length?a.siblings():this.element.siblings(),this.buttonElement=a.filter(b),this.buttonElement.length||(this.buttonElement=a.find(b))),this.element.addClass(<span class="stringliteral">&quot;ui-helper-hidden-accessible&quot;</span>);var c=this.element.is(<span class="stringliteral">&quot;:checked&quot;</span>);c&amp;&amp;this.buttonElement.addClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>),this.buttonElement.attr(<span class="stringliteral">&quot;aria-pressed&quot;</span>,c)}<span class="keywordflow">else</span> this.buttonElement=this.element},widget:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.buttonElement},destroy:<span class="keyword">function</span>(){this.element.removeClass(<span class="stringliteral">&quot;ui-helper-hidden-accessible&quot;</span>),this.buttonElement.removeClass(g+<span class="stringliteral">&quot; &quot;</span>+h+<span class="stringliteral">&quot; &quot;</span>+i).removeAttr(<span class="stringliteral">&quot;role&quot;</span>).removeAttr(<span class="stringliteral">&quot;aria-pressed&quot;</span>).html(this.buttonElement.find(<span class="stringliteral">&quot;.ui-button-text&quot;</span>).html()),this.hasTitle||this.buttonElement.removeAttr(<span class="stringliteral">&quot;title&quot;</span>),a.Widget.prototype.destroy.call(<span class="keyword">this</span>)},_setOption:<span class="keyword">function</span>(b,c){a.Widget.prototype._setOption.apply(<span class="keyword">this</span>,arguments);<span class="keywordflow">if</span>(b===<span class="stringliteral">&quot;disabled&quot;</span>){c?this.element.propAttr(<span class="stringliteral">&quot;disabled&quot;</span>,!0):this.element.propAttr(<span class="stringliteral">&quot;disabled&quot;</span>,!1);<span class="keywordflow">return</span>}this._resetButton()},refresh:<span class="keyword">function</span>(){var b=this.element.is(<span class="stringliteral">&quot;:disabled&quot;</span>);b!==this.options.disabled&amp;&amp;this._setOption(<span class="stringliteral">&quot;disabled&quot;</span>,b),this.type===<span class="stringliteral">&quot;radio&quot;</span>?k(this.element[0]).each(<span class="keyword">function</span>(){a(<span class="keyword">this</span>).is(<span class="stringliteral">&quot;:checked&quot;</span>)?a(<span class="keyword">this</span>).button(<span class="stringliteral">&quot;widget&quot;</span>).addClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>).attr(<span class="stringliteral">&quot;aria-pressed&quot;</span>,<span class="stringliteral">&quot;true&quot;</span>):a(<span class="keyword">this</span>).button(<span class="stringliteral">&quot;widget&quot;</span>).removeClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>).attr(<span class="stringliteral">&quot;aria-pressed&quot;</span>,<span class="stringliteral">&quot;false&quot;</span>)}):this.type===<span class="stringliteral">&quot;checkbox&quot;</span>&amp;&amp;(this.element.is(<span class="stringliteral">&quot;:checked&quot;</span>)?this.buttonElement.addClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>).attr(<span class="stringliteral">&quot;aria-pressed&quot;</span>,<span class="stringliteral">&quot;true&quot;</span>):this.buttonElement.removeClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>).attr(<span class="stringliteral">&quot;aria-pressed&quot;</span>,<span class="stringliteral">&quot;false&quot;</span>))},_resetButton:<span class="keyword">function</span>(){<span class="keywordflow">if</span>(this.type===<span class="stringliteral">&quot;input&quot;</span>){this.options.label&amp;&amp;this.element.val(this.options.label);<span class="keywordflow">return</span>}var b=this.buttonElement.removeClass(i),c=a(<span class="stringliteral">&quot;&lt;span&gt;&lt;/span&gt;&quot;</span>,this.element[0].ownerDocument).addClass(<span class="stringliteral">&quot;ui-button-text&quot;</span>).html(this.options.label).appendTo(b.empty()).text(),d=this.options.icons,e=d.primary&amp;&amp;d.secondary,f=[];d.primary||d.secondary?(this.options.text&amp;&amp;f.push(<span class="stringliteral">&quot;ui-button-text-icon&quot;</span>+(e?<span class="stringliteral">&quot;s&quot;</span>:d.primary?<span class="stringliteral">&quot;-primary&quot;</span>:<span class="stringliteral">&quot;-secondary&quot;</span>)),d.primary&amp;&amp;b.prepend(<span class="stringliteral">&quot;&lt;span class=&#39;ui-button-icon-primary ui-icon &quot;</span>+d.primary+<span class="stringliteral">&quot;&#39;&gt;&lt;/span&gt;&quot;</span>),d.secondary&amp;&amp;b.append(<span class="stringliteral">&quot;&lt;span class=&#39;ui-button-icon-secondary ui-icon &quot;</span>+d.secondary+<span class="stringliteral">&quot;&#39;&gt;&lt;/span&gt;&quot;</span>),this.options.text||(f.push(e?<span class="stringliteral">&quot;ui-button-icons-only&quot;</span>:<span class="stringliteral">&quot;ui-button-icon-only&quot;</span>),this.hasTitle||b.attr(<span class="stringliteral">&quot;title&quot;</span>,c))):f.push(<span class="stringliteral">&quot;ui-button-text-only&quot;</span>),b.addClass(f.join(<span class="stringliteral">&quot; &quot;</span>))}}),a.widget(<span class="stringliteral">&quot;ui.buttonset&quot;</span>,{options:{items:<span class="stringliteral">&quot;:button, :submit, :reset, :checkbox, :radio, a, :data(button)&quot;</span>},_create:<span class="keyword">function</span>(){this.element.addClass(<span class="stringliteral">&quot;ui-buttonset&quot;</span>)},_init:<span class="keyword">function</span>(){this.refresh()},_setOption:<span class="keyword">function</span>(b,c){b===<span class="stringliteral">&quot;disabled&quot;</span>&amp;&amp;this.buttons.button(<span class="stringliteral">&quot;option&quot;</span>,b,c),a.Widget.prototype._setOption.apply(<span class="keyword">this</span>,arguments)},refresh:<span class="keyword">function</span>(){var b=this.element.css(<span class="stringliteral">&quot;direction&quot;</span>)===<span class="stringliteral">&quot;rtl&quot;</span>;this.buttons=this.element.find(this.options.items).filter(<span class="stringliteral">&quot;:ui-button&quot;</span>).button(<span class="stringliteral">&quot;refresh&quot;</span>).end().not(<span class="stringliteral">&quot;:ui-button&quot;</span>).button().end().map(<span class="keyword">function</span>(){<span class="keywordflow">return</span> a(<span class="keyword">this</span>).button(<span class="stringliteral">&quot;widget&quot;</span>)[0]}).removeClass(<span class="stringliteral">&quot;ui-corner-all ui-corner-left ui-corner-right&quot;</span>).filter(<span class="stringliteral">&quot;:first&quot;</span>).addClass(b?<span class="stringliteral">&quot;ui-corner-right&quot;</span>:<span class="stringliteral">&quot;ui-corner-left&quot;</span>).end().filter(<span class="stringliteral">&quot;:last&quot;</span>).addClass(b?<span class="stringliteral">&quot;ui-corner-left&quot;</span>:<span class="stringliteral">&quot;ui-corner-right&quot;</span>).end().end()},destroy:<span class="keyword">function</span>(){this.element.removeClass(<span class="stringliteral">&quot;ui-buttonset&quot;</span>),this.buttons.map(<span class="keyword">function</span>(){<span class="keywordflow">return</span> a(<span class="keyword">this</span>).button(<span class="stringliteral">&quot;widget&quot;</span>)[0]}).removeClass(<span class="stringliteral">&quot;ui-corner-left ui-corner-right&quot;</span>).end().button(<span class="stringliteral">&quot;destroy&quot;</span>),a.Widget.prototype.destroy.call(<span class="keyword">this</span>)}})}(jQuery),<span class="keyword">function</span>($,undefined){<span class="keyword">function</span> Datepicker(){this.debug=!1,this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId=<span class="stringliteral">&quot;ui-datepicker-div&quot;</span>,this._inlineClass=<span class="stringliteral">&quot;ui-datepicker-inline&quot;</span>,this._appendClass=<span class="stringliteral">&quot;ui-datepicker-append&quot;</span>,this._triggerClass=<span class="stringliteral">&quot;ui-datepicker-trigger&quot;</span>,this._dialogClass=<span class="stringliteral">&quot;ui-datepicker-dialog&quot;</span>,this._disableClass=<span class="stringliteral">&quot;ui-datepicker-disabled&quot;</span>,this._unselectableClass=<span class="stringliteral">&quot;ui-datepicker-unselectable&quot;</span>,this._currentClass=<span class="stringliteral">&quot;ui-datepicker-current-day&quot;</span>,this._dayOverClass=<span class="stringliteral">&quot;ui-datepicker-days-cell-over&quot;</span>,this.regional=[],this.regional[<span class="stringliteral">&quot;&quot;</span>]={closeText:<span class="stringliteral">&quot;Done&quot;</span>,prevText:<span class="stringliteral">&quot;Prev&quot;</span>,nextText:<span class="stringliteral">&quot;Next&quot;</span>,currentText:<span class="stringliteral">&quot;Today&quot;</span>,monthNames:[<span class="stringliteral">&quot;January&quot;</span>,<span class="stringliteral">&quot;February&quot;</span>,<span class="stringliteral">&quot;March&quot;</span>,<span class="stringliteral">&quot;April&quot;</span>,<span class="stringliteral">&quot;May&quot;</span>,<span class="stringliteral">&quot;June&quot;</span>,<span class="stringliteral">&quot;July&quot;</span>,<span class="stringliteral">&quot;August&quot;</span>,<span class="stringliteral">&quot;September&quot;</span>,<span class="stringliteral">&quot;October&quot;</span>,<span class="stringliteral">&quot;November&quot;</span>,<span class="stringliteral">&quot;December&quot;</span>],monthNamesShort:[<span class="stringliteral">&quot;Jan&quot;</span>,<span class="stringliteral">&quot;Feb&quot;</span>,<span class="stringliteral">&quot;Mar&quot;</span>,<span class="stringliteral">&quot;Apr&quot;</span>,<span class="stringliteral">&quot;May&quot;</span>,<span class="stringliteral">&quot;Jun&quot;</span>,<span class="stringliteral">&quot;Jul&quot;</span>,<span class="stringliteral">&quot;Aug&quot;</span>,<span class="stringliteral">&quot;Sep&quot;</span>,<span class="stringliteral">&quot;Oct&quot;</span>,<span class="stringliteral">&quot;Nov&quot;</span>,<span class="stringliteral">&quot;Dec&quot;</span>],dayNames:[<span class="stringliteral">&quot;Sunday&quot;</span>,<span class="stringliteral">&quot;Monday&quot;</span>,<span class="stringliteral">&quot;Tuesday&quot;</span>,<span class="stringliteral">&quot;Wednesday&quot;</span>,<span class="stringliteral">&quot;Thursday&quot;</span>,<span class="stringliteral">&quot;Friday&quot;</span>,<span class="stringliteral">&quot;Saturday&quot;</span>],dayNamesShort:[<span class="stringliteral">&quot;Sun&quot;</span>,<span class="stringliteral">&quot;Mon&quot;</span>,<span class="stringliteral">&quot;Tue&quot;</span>,<span class="stringliteral">&quot;Wed&quot;</span>,<span class="stringliteral">&quot;Thu&quot;</span>,<span class="stringliteral">&quot;Fri&quot;</span>,<span class="stringliteral">&quot;Sat&quot;</span>],dayNamesMin:[<span class="stringliteral">&quot;Su&quot;</span>,<span class="stringliteral">&quot;Mo&quot;</span>,<span class="stringliteral">&quot;Tu&quot;</span>,<span class="stringliteral">&quot;We&quot;</span>,<span class="stringliteral">&quot;Th&quot;</span>,<span class="stringliteral">&quot;Fr&quot;</span>,<span class="stringliteral">&quot;Sa&quot;</span>],weekHeader:<span class="stringliteral">&quot;Wk&quot;</span>,dateFormat:<span class="stringliteral">&quot;mm/dd/yy&quot;</span>,firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:<span class="stringliteral">&quot;&quot;</span>},this._defaults={showOn:<span class="stringliteral">&quot;focus&quot;</span>,showAnim:<span class="stringliteral">&quot;fadeIn&quot;</span>,showOptions:{},defaultDate:null,appendText:<span class="stringliteral">&quot;&quot;</span>,buttonText:<span class="stringliteral">&quot;...&quot;</span>,buttonImage:<span class="stringliteral">&quot;&quot;</span>,buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:<span class="stringliteral">&quot;c-10:c+10&quot;</span>,showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:<span class="stringliteral">&quot;+10&quot;</span>,minDate:null,maxDate:null,duration:<span class="stringliteral">&quot;fast&quot;</span>,beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:<span class="stringliteral">&quot;&quot;</span>,altFormat:<span class="stringliteral">&quot;&quot;</span>,constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},$.extend(this._defaults,this.regional[<span class="stringliteral">&quot;&quot;</span>]),this.dpDiv=bindHover($(<span class="stringliteral">&#39;&lt;div id=&quot;&#39;</span>+this._mainDivId+<span class="stringliteral">&#39;&quot; class=&quot;ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all&quot;&gt;&lt;/div&gt;&#39;</span>))}<span class="keyword">function</span> bindHover(a){var b=<span class="stringliteral">&quot;button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a&quot;</span>;<span class="keywordflow">return</span> a.bind(<span class="stringliteral">&quot;mouseout&quot;</span>,<span class="keyword">function</span>(a){var c=$(a.target).closest(b);<span class="keywordflow">if</span>(!c.length)<span class="keywordflow">return</span>;c.removeClass(<span class="stringliteral">&quot;ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover&quot;</span>)}).bind(<span class="stringliteral">&quot;mouseover&quot;</span>,<span class="keyword">function</span>(c){var d=$(c.target).closest(b);<span class="keywordflow">if</span>($.datepicker._isDisabledDatepicker(instActive.inline?a.parent()[0]:instActive.input[0])||!d.length)<span class="keywordflow">return</span>;d.parents(<span class="stringliteral">&quot;.ui-datepicker-calendar&quot;</span>).find(<span class="stringliteral">&quot;a&quot;</span>).removeClass(<span class="stringliteral">&quot;ui-state-hover&quot;</span>),d.addClass(<span class="stringliteral">&quot;ui-state-hover&quot;</span>),d.hasClass(<span class="stringliteral">&quot;ui-datepicker-prev&quot;</span>)&amp;&amp;d.addClass(<span class="stringliteral">&quot;ui-datepicker-prev-hover&quot;</span>),d.hasClass(<span class="stringliteral">&quot;ui-datepicker-next&quot;</span>)&amp;&amp;d.addClass(<span class="stringliteral">&quot;ui-datepicker-next-hover&quot;</span>)})}<span class="keyword">function</span> extendRemove(a,b){$.extend(a,b);<span class="keywordflow">for</span>(var c in b)<span class="keywordflow">if</span>(b[c]==null||b[c]==undefined)a[c]=b[c];<span class="keywordflow">return</span> a}<span class="keyword">function</span> isArray(a){<span class="keywordflow">return</span> a&amp;&amp;($.browser.safari&amp;&amp;typeof a==<span class="stringliteral">&quot;object&quot;</span>&amp;&amp;a.length||a.constructor&amp;&amp;a.constructor.toString().match(/\Array\(\)/))}$.extend($.ui,{datepicker:{version:<span class="stringliteral">&quot;1.8.20&quot;</span>}});var PROP_NAME=<span class="stringliteral">&quot;datepicker&quot;</span>,dpuuid=(<span class="keyword">new</span> Date).getTime(),instActive;$.extend(Datepicker.prototype,{markerClassName:<span class="stringliteral">&quot;hasDatepicker&quot;</span>,maxRows:4,log:<span class="keyword">function</span>(){<span class="keyword">this</span>.debug&amp;&amp;console.log.apply(<span class="stringliteral">&quot;&quot;</span>,arguments)},_widgetDatepicker:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.dpDiv},setDefaults:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> extendRemove(this._defaults,a||{}),<span class="keyword">this</span>},_attachDatepicker:<span class="keyword">function</span>(target,settings){var inlineSettings=null;<span class="keywordflow">for</span>(var attrName in this._defaults){var attrValue=target.getAttribute(<span class="stringliteral">&quot;date:&quot;</span>+attrName);<span class="keywordflow">if</span>(attrValue){inlineSettings=inlineSettings||{};<span class="keywordflow">try</span>{inlineSettings[attrName]=eval(attrValue)}<span class="keywordflow">catch</span>(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),<span class="keyword">inline</span>=nodeName==<span class="stringliteral">&quot;div&quot;</span>||nodeName==<span class="stringliteral">&quot;span&quot;</span>;target.id||(this.uuid+=1,target.id=<span class="stringliteral">&quot;dp&quot;</span>+this.uuid);var inst=this._newInst($(target),<span class="keyword">inline</span>);inst.settings=$.extend({},settings||{},inlineSettings||{}),nodeName==<span class="stringliteral">&quot;input&quot;</span>?this._connectDatepicker(target,inst):<span class="keyword">inline</span>&amp;&amp;this._inlineDatepicker(target,inst)},_newInst:<span class="keyword">function</span>(a,b){var c=a[0].id.replace(/([^A-Za-z0-9_-])/g,<span class="stringliteral">&quot;\\\\$1&quot;</span>);<span class="keywordflow">return</span>{<span class="keywordtype">id</span>:c,input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,<span class="keyword">inline</span>:b,dpDiv:b?bindHover($(<span class="stringliteral">&#39;&lt;div class=&quot;&#39;</span>+this._inlineClass+<span class="stringliteral">&#39; ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all&quot;&gt;&lt;/div&gt;&#39;</span>)):this.dpDiv}},_connectDatepicker:function(a,b){var c=$(a);b.append=$([]),b.trigger=$([]);<span class="keywordflow">if</span>(c.hasClass(<span class="keyword">this</span>.markerClassName))<span class="keywordflow">return</span>;this._attachments(c,b),c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind(<span class="stringliteral">&quot;setData.datepicker&quot;</span>,<span class="keyword">function</span>(a,c,d){b.settings[c]=d}).bind(<span class="stringliteral">&quot;getData.datepicker&quot;</span>,<span class="keyword">function</span>(a,c){<span class="keywordflow">return</span> this._get(b,c)}),this._autoSize(b),$.data(a,PROP_NAME,b),b.settings.disabled&amp;&amp;this._disableDatepicker(a)},_attachments:<span class="keyword">function</span>(a,b){var c=this._get(b,<span class="stringliteral">&quot;appendText&quot;</span>),d=this._get(b,<span class="stringliteral">&quot;isRTL&quot;</span>);b.append&amp;&amp;b.append.remove(),c&amp;&amp;(b.append=$(<span class="stringliteral">&#39;&lt;span class=&quot;&#39;</span>+this._appendClass+<span class="stringliteral">&#39;&quot;&gt;&#39;</span>+c+<span class="stringliteral">&quot;&lt;/span&gt;&quot;</span>),a[d?<span class="stringliteral">&quot;before&quot;</span>:<span class="stringliteral">&quot;after&quot;</span>](b.append)),a.unbind(<span class="stringliteral">&quot;focus&quot;</span>,<span class="keyword">this</span>._showDatepicker),b.trigger&amp;&amp;b.trigger.remove();var e=this._get(b,<span class="stringliteral">&quot;showOn&quot;</span>);(e==<span class="stringliteral">&quot;focus&quot;</span>||e==<span class="stringliteral">&quot;both&quot;</span>)&amp;&amp;a.focus(<span class="keyword">this</span>._showDatepicker);<span class="keywordflow">if</span>(e==<span class="stringliteral">&quot;button&quot;</span>||e==<span class="stringliteral">&quot;both&quot;</span>){var f=this._get(b,<span class="stringliteral">&quot;buttonText&quot;</span>),g=this._get(b,<span class="stringliteral">&quot;buttonImage&quot;</span>);b.trigger=$(this._get(b,<span class="stringliteral">&quot;buttonImageOnly&quot;</span>)?$(<span class="stringliteral">&quot;&lt;img/&gt;&quot;</span>).addClass(this._triggerClass).attr({src:g,alt:f,title:f}):$(<span class="stringliteral">&#39;&lt;button type=&quot;button&quot;&gt;&lt;/button&gt;&#39;</span>).addClass(this._triggerClass).html(g==<span class="stringliteral">&quot;&quot;</span>?f:$(<span class="stringliteral">&quot;&lt;img/&gt;&quot;</span>).attr({src:g,alt:f,title:f}))),a[d?<span class="stringliteral">&quot;before&quot;</span>:<span class="stringliteral">&quot;after&quot;</span>](b.trigger),b.trigger.click(<span class="keyword">function</span>(){<span class="keywordflow">return</span> $.datepicker._datepickerShowing&amp;&amp;$.datepicker._lastInput==a[0]?$.datepicker._hideDatepicker():$.datepicker._datepickerShowing&amp;&amp;$.datepicker._lastInput!=a[0]?($.datepicker._hideDatepicker(),$.datepicker._showDatepicker(a[0])):$.datepicker._showDatepicker(a[0]),!1})}},_autoSize:<span class="keyword">function</span>(a){<span class="keywordflow">if</span>(this._get(a,<span class="stringliteral">&quot;autoSize&quot;</span>)&amp;&amp;!a.inline){var b=<span class="keyword">new</span> Date(2009,11,20),c=this._get(a,<span class="stringliteral">&quot;dateFormat&quot;</span>);<span class="keywordflow">if</span>(c.match(/[DM]/)){var d=<span class="keyword">function</span>(a){var b=0,c=0;<span class="keywordflow">for</span>(var d=0;d&lt;a.length;d++)a[d].length&gt;b&amp;&amp;(b=a[d].length,c=d);<span class="keywordflow">return</span> c};b.setMonth(d(this._get(a,c.match(/MM/)?<span class="stringliteral">&quot;monthNames&quot;</span>:<span class="stringliteral">&quot;monthNamesShort&quot;</span>))),b.setDate(d(this._get(a,c.match(/DD/)?<span class="stringliteral">&quot;dayNames&quot;</span>:<span class="stringliteral">&quot;dayNamesShort&quot;</span>))+20-b.getDay())}a.input.attr(<span class="stringliteral">&quot;size&quot;</span>,<span class="keyword">this</span>._formatDate(a,b).length)}},_inlineDatepicker:<span class="keyword">function</span>(a,b){var c=$(a);<span class="keywordflow">if</span>(c.hasClass(<span class="keyword">this</span>.markerClassName))<span class="keywordflow">return</span>;c.addClass(this.markerClassName).append(b.dpDiv).bind(<span class="stringliteral">&quot;setData.datepicker&quot;</span>,<span class="keyword">function</span>(a,c,d){b.settings[c]=d}).bind(<span class="stringliteral">&quot;getData.datepicker&quot;</span>,<span class="keyword">function</span>(a,c){<span class="keywordflow">return</span> this._get(b,c)}),$.data(a,PROP_NAME,b),this._setDate(b,this._getDefaultDate(b),!0),this._updateDatepicker(b),this._updateAlternate(b),b.settings.disabled&amp;&amp;this._disableDatepicker(a),b.dpDiv.css(<span class="stringliteral">&quot;display&quot;</span>,<span class="stringliteral">&quot;block&quot;</span>)},_dialogDatepicker:<span class="keyword">function</span>(a,b,c,d,e){var f=this._dialogInst;<span class="keywordflow">if</span>(!f){this.uuid+=1;var g=<span class="stringliteral">&quot;dp&quot;</span>+this.uuid;this._dialogInput=$(<span class="stringliteral">&#39;&lt;input type=&quot;text&quot; id=&quot;&#39;</span>+g+<span class="stringliteral">&#39;&quot; style=&quot;position: absolute; top: -100px; width: 0px; z-index: -10;&quot;/&gt;&#39;</span>),this._dialogInput.keydown(<span class="keyword">this</span>._doKeyDown),$(<span class="stringliteral">&quot;body&quot;</span>).append(this._dialogInput),f=this._dialogInst=this._newInst(this._dialogInput,!1),f.settings={},$.data(this._dialogInput[0],PROP_NAME,f)}extendRemove(f.settings,d||{}),b=b&amp;&amp;b.constructor==Date?<span class="keyword">this</span>._formatDate(f,b):b,this._dialogInput.val(b),this._pos=e?e.length?e:[e.pageX,e.pageY]:null;<span class="keywordflow">if</span>(!this._pos){var h=document.documentElement.clientWidth,i=document.documentElement.clientHeight,j=document.documentElement.scrollLeft||document.body.scrollLeft,k=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[h/2-100+j,i/2-150+k]}<span class="keywordflow">return</span> this._dialogInput.css(<span class="stringliteral">&quot;left&quot;</span>,this._pos[0]+20+<span class="stringliteral">&quot;px&quot;</span>).css(<span class="stringliteral">&quot;top&quot;</span>,this._pos[1]+<span class="stringliteral">&quot;px&quot;</span>),f.settings.onSelect=c,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),$.blockUI&amp;&amp;$.blockUI(this.dpDiv),$.data(this._dialogInput[0],PROP_NAME,f),<span class="keyword">this</span>},_destroyDatepicker:<span class="keyword">function</span>(a){var b=$(a),c=$.data(a,PROP_NAME);<span class="keywordflow">if</span>(!b.hasClass(<span class="keyword">this</span>.markerClassName))<span class="keywordflow">return</span>;var d=a.nodeName.toLowerCase();$.removeData(a,PROP_NAME),d==<span class="stringliteral">&quot;input&quot;</span>?(c.append.remove(),c.trigger.remove(),b.removeClass(this.markerClassName).unbind(<span class="stringliteral">&quot;focus&quot;</span>,this._showDatepicker).unbind(<span class="stringliteral">&quot;keydown&quot;</span>,this._doKeyDown).unbind(<span class="stringliteral">&quot;keypress&quot;</span>,this._doKeyPress).unbind(<span class="stringliteral">&quot;keyup&quot;</span>,this._doKeyUp)):(d==<span class="stringliteral">&quot;div&quot;</span>||d==<span class="stringliteral">&quot;span&quot;</span>)&amp;&amp;b.removeClass(this.markerClassName).empty()},_enableDatepicker:<span class="keyword">function</span>(a){var b=$(a),c=$.data(a,PROP_NAME);<span class="keywordflow">if</span>(!b.hasClass(<span class="keyword">this</span>.markerClassName))<span class="keywordflow">return</span>;var d=a.nodeName.toLowerCase();<span class="keywordflow">if</span>(d==<span class="stringliteral">&quot;input&quot;</span>)a.disabled=!1,c.trigger.filter(<span class="stringliteral">&quot;button&quot;</span>).each(<span class="keyword">function</span>(){this.disabled=!1}).end().filter(<span class="stringliteral">&quot;img&quot;</span>).css({opacity:<span class="stringliteral">&quot;1.0&quot;</span>,cursor:<span class="stringliteral">&quot;&quot;</span>});<span class="keywordflow">else</span> <span class="keywordflow">if</span>(d==<span class="stringliteral">&quot;div&quot;</span>||d==<span class="stringliteral">&quot;span&quot;</span>){var e=b.children(<span class="stringliteral">&quot;.&quot;</span>+this._inlineClass);e.children().removeClass(<span class="stringliteral">&quot;ui-state-disabled&quot;</span>),e.find(<span class="stringliteral">&quot;select.ui-datepicker-month, select.ui-datepicker-year&quot;</span>).removeAttr(<span class="stringliteral">&quot;disabled&quot;</span>)}this._disabledInputs=$.map(this._disabledInputs,<span class="keyword">function</span>(b){<span class="keywordflow">return</span> b==a?null:b})},_disableDatepicker:<span class="keyword">function</span>(a){var b=$(a),c=$.data(a,PROP_NAME);<span class="keywordflow">if</span>(!b.hasClass(<span class="keyword">this</span>.markerClassName))<span class="keywordflow">return</span>;var d=a.nodeName.toLowerCase();<span class="keywordflow">if</span>(d==<span class="stringliteral">&quot;input&quot;</span>)a.disabled=!0,c.trigger.filter(<span class="stringliteral">&quot;button&quot;</span>).each(<span class="keyword">function</span>(){this.disabled=!0}).end().filter(<span class="stringliteral">&quot;img&quot;</span>).css({opacity:<span class="stringliteral">&quot;0.5&quot;</span>,cursor:<span class="stringliteral">&quot;default&quot;</span>});<span class="keywordflow">else</span> <span class="keywordflow">if</span>(d==<span class="stringliteral">&quot;div&quot;</span>||d==<span class="stringliteral">&quot;span&quot;</span>){var e=b.children(<span class="stringliteral">&quot;.&quot;</span>+this._inlineClass);e.children().addClass(<span class="stringliteral">&quot;ui-state-disabled&quot;</span>),e.find(<span class="stringliteral">&quot;select.ui-datepicker-month, select.ui-datepicker-year&quot;</span>).attr(<span class="stringliteral">&quot;disabled&quot;</span>,<span class="stringliteral">&quot;disabled&quot;</span>)}this._disabledInputs=$.map(this._disabledInputs,<span class="keyword">function</span>(b){<span class="keywordflow">return</span> b==a?null:b}),this._disabledInputs[this._disabledInputs.length]=a},_isDisabledDatepicker:<span class="keyword">function</span>(a){<span class="keywordflow">if</span>(!a)<span class="keywordflow">return</span>!1;<span class="keywordflow">for</span>(var b=0;b&lt;this._disabledInputs.length;b++)<span class="keywordflow">if</span>(this._disabledInputs[b]==a)<span class="keywordflow">return</span>!0;<span class="keywordflow">return</span>!1},_getInst:<span class="keyword">function</span>(a){<span class="keywordflow">try</span>{<span class="keywordflow">return</span> $.data(a,PROP_NAME)}<span class="keywordflow">catch</span>(b){<span class="keywordflow">throw</span><span class="stringliteral">&quot;Missing instance data for this datepicker&quot;</span>}},_optionDatepicker:<span class="keyword">function</span>(a,b,c){var d=this._getInst(a);<span class="keywordflow">if</span>(arguments.length==2&amp;&amp;typeof b==<span class="stringliteral">&quot;string&quot;</span>)<span class="keywordflow">return</span> b==<span class="stringliteral">&quot;defaults&quot;</span>?$.extend({},$.datepicker._defaults):d?b==<span class="stringliteral">&quot;all&quot;</span>?$.extend({},d.settings):this._get(d,b):null;var e=b||{};typeof b==<span class="stringliteral">&quot;string&quot;</span>&amp;&amp;(e={},e[b]=c);<span class="keywordflow">if</span>(d){this._curInst==d&amp;&amp;this._hideDatepicker();var f=this._getDateDatepicker(a,!0),g=this._getMinMaxDate(d,<span class="stringliteral">&quot;min&quot;</span>),h=this._getMinMaxDate(d,<span class="stringliteral">&quot;max&quot;</span>);extendRemove(d.settings,e),g!==null&amp;&amp;e.dateFormat!==undefined&amp;&amp;e.minDate===undefined&amp;&amp;(d.settings.minDate=this._formatDate(d,g)),h!==null&amp;&amp;e.dateFormat!==undefined&amp;&amp;e.maxDate===undefined&amp;&amp;(d.settings.maxDate=<span class="keyword">this</span>._formatDate(d,h)),this._attachments($(a),d),this._autoSize(d),this._setDate(d,f),this._updateAlternate(d),this._updateDatepicker(d)}},_changeDatepicker:<span class="keyword">function</span>(a,b,c){this._optionDatepicker(a,b,c)},_refreshDatepicker:<span class="keyword">function</span>(a){var b=this._getInst(a);b&amp;&amp;this._updateDatepicker(b)},_setDateDatepicker:<span class="keyword">function</span>(a,b){var c=this._getInst(a);c&amp;&amp;(this._setDate(c,b),this._updateDatepicker(c),this._updateAlternate(c))},_getDateDatepicker:<span class="keyword">function</span>(a,b){var c=this._getInst(a);<span class="keywordflow">return</span> c&amp;&amp;!c.inline&amp;&amp;this._setDateFromField(c,b),c?this._getDate(c):null},_doKeyDown:function(a){var b=$.datepicker._getInst(a.target),c=!0,d=b.dpDiv.is(<span class="stringliteral">&quot;.ui-datepicker-rtl&quot;</span>);b._keyEvent=!0;<span class="keywordflow">if</span>($.datepicker._datepickerShowing)<span class="keywordflow">switch</span>(a.keyCode){<span class="keywordflow">case</span> 9:$.datepicker._hideDatepicker(),c=!1;<span class="keywordflow">break</span>;<span class="keywordflow">case</span> 13:var e=$(<span class="stringliteral">&quot;td.&quot;</span>+$.datepicker._dayOverClass+<span class="stringliteral">&quot;:not(.&quot;</span>+$.datepicker._currentClass+<span class="stringliteral">&quot;)&quot;</span>,b.dpDiv);e[0]&amp;&amp;$.datepicker._selectDay(a.target,b.selectedMonth,b.selectedYear,e[0]);var f=$.datepicker._get(b,<span class="stringliteral">&quot;onSelect&quot;</span>);<span class="keywordflow">if</span>(f){var g=$.datepicker._formatDate(b);f.apply(b.input?b.input[0]:null,[g,b])}<span class="keywordflow">else</span> $.datepicker._hideDatepicker();<span class="keywordflow">return</span>!1;<span class="keywordflow">case</span> 27:$.datepicker._hideDatepicker();<span class="keywordflow">break</span>;<span class="keywordflow">case</span> 33:$.datepicker._adjustDate(a.target,a.ctrlKey?-$.datepicker._get(b,<span class="stringliteral">&quot;stepBigMonths&quot;</span>):-$.datepicker._get(b,<span class="stringliteral">&quot;stepMonths&quot;</span>),<span class="stringliteral">&quot;M&quot;</span>);<span class="keywordflow">break</span>;<span class="keywordflow">case</span> 34:$.datepicker._adjustDate(a.target,a.ctrlKey?+$.datepicker._get(b,<span class="stringliteral">&quot;stepBigMonths&quot;</span>):+$.datepicker._get(b,<span class="stringliteral">&quot;stepMonths&quot;</span>),<span class="stringliteral">&quot;M&quot;</span>);<span class="keywordflow">break</span>;<span class="keywordflow">case</span> 35:(a.ctrlKey||a.metaKey)&amp;&amp;$.datepicker._clearDate(a.target),c=a.ctrlKey||a.metaKey;<span class="keywordflow">break</span>;<span class="keywordflow">case</span> 36:(a.ctrlKey||a.metaKey)&amp;&amp;$.datepicker._gotoToday(a.target),c=a.ctrlKey||a.metaKey;<span class="keywordflow">break</span>;<span class="keywordflow">case</span> 37:(a.ctrlKey||a.metaKey)&amp;&amp;$.datepicker._adjustDate(a.target,d?1:-1,<span class="stringliteral">&quot;D&quot;</span>),c=a.ctrlKey||a.metaKey,a.originalEvent.altKey&amp;&amp;$.datepicker._adjustDate(a.target,a.ctrlKey?-$.datepicker._get(b,<span class="stringliteral">&quot;stepBigMonths&quot;</span>):-$.datepicker._get(b,<span class="stringliteral">&quot;stepMonths&quot;</span>),<span class="stringliteral">&quot;M&quot;</span>);<span class="keywordflow">break</span>;<span class="keywordflow">case</span> 38:(a.ctrlKey||a.metaKey)&amp;&amp;$.datepicker._adjustDate(a.target,-7,<span class="stringliteral">&quot;D&quot;</span>),c=a.ctrlKey||a.metaKey;<span class="keywordflow">break</span>;<span class="keywordflow">case</span> 39:(a.ctrlKey||a.metaKey)&amp;&amp;$.datepicker._adjustDate(a.target,d?-1:1,<span class="stringliteral">&quot;D&quot;</span>),c=a.ctrlKey||a.metaKey,a.originalEvent.altKey&amp;&amp;$.datepicker._adjustDate(a.target,a.ctrlKey?+$.datepicker._get(b,<span class="stringliteral">&quot;stepBigMonths&quot;</span>):+$.datepicker._get(b,<span class="stringliteral">&quot;stepMonths&quot;</span>),<span class="stringliteral">&quot;M&quot;</span>);<span class="keywordflow">break</span>;<span class="keywordflow">case</span> 40:(a.ctrlKey||a.metaKey)&amp;&amp;$.datepicker._adjustDate(a.target,7,<span class="stringliteral">&quot;D&quot;</span>),c=a.ctrlKey||a.metaKey;<span class="keywordflow">break</span>;<span class="keywordflow">default</span>:c=!1}<span class="keywordflow">else</span> a.keyCode==36&amp;&amp;a.ctrlKey?$.datepicker._showDatepicker(<span class="keyword">this</span>):c=!1;c&amp;&amp;(a.preventDefault(),a.stopPropagation())},_doKeyPress:<span class="keyword">function</span>(a){var b=$.datepicker._getInst(a.target);<span class="keywordflow">if</span>($.datepicker._get(b,<span class="stringliteral">&quot;constrainInput&quot;</span>)){var c=$.datepicker._possibleChars($.datepicker._get(b,<span class="stringliteral">&quot;dateFormat&quot;</span>)),d=String.fromCharCode(a.charCode==undefined?a.keyCode:a.charCode);<span class="keywordflow">return</span> a.ctrlKey||a.metaKey||d&lt;<span class="stringliteral">&quot; &quot;</span>||!c||c.indexOf(d)&gt;-1}},_doKeyUp:<span class="keyword">function</span>(a){var b=$.datepicker._getInst(a.target);<span class="keywordflow">if</span>(b.input.val()!=b.lastVal)<span class="keywordflow">try</span>{var c=$.datepicker.parseDate($.datepicker._get(b,<span class="stringliteral">&quot;dateFormat&quot;</span>),b.input?b.input.val():null,$.datepicker._getFormatConfig(b));c&amp;&amp;($.datepicker._setDateFromField(b),$.datepicker._updateAlternate(b),$.datepicker._updateDatepicker(b))}<span class="keywordflow">catch</span>(d){$.datepicker.log(d)}<span class="keywordflow">return</span>!0},_showDatepicker:<span class="keyword">function</span>(a){a=a.target||a,a.nodeName.toLowerCase()!=<span class="stringliteral">&quot;input&quot;</span>&amp;&amp;(a=$(<span class="stringliteral">&quot;input&quot;</span>,a.parentNode)[0]);<span class="keywordflow">if</span>($.datepicker._isDisabledDatepicker(a)||$.datepicker._lastInput==a)<span class="keywordflow">return</span>;var b=$.datepicker._getInst(a);$.datepicker._curInst&amp;&amp;$.datepicker._curInst!=b&amp;&amp;($.datepicker._curInst.dpDiv.stop(!0,!0),b&amp;&amp;$.datepicker._datepickerShowing&amp;&amp;$.datepicker._hideDatepicker($.datepicker._curInst.input[0]));var c=$.datepicker._get(b,<span class="stringliteral">&quot;beforeShow&quot;</span>),d=c?c.apply(a,[a,b]):{};<span class="keywordflow">if</span>(d===!1)<span class="keywordflow">return</span>;extendRemove(b.settings,d),b.lastVal=null,$.datepicker._lastInput=a,$.datepicker._setDateFromField(b),$.datepicker._inDialog&amp;&amp;(a.value=<span class="stringliteral">&quot;&quot;</span>),$.datepicker._pos||($.datepicker._pos=$.datepicker._findPos(a),$.datepicker._pos[1]+=a.offsetHeight);var e=!1;$(a).parents().each(<span class="keyword">function</span>(){<span class="keywordflow">return</span> e|=$(<span class="keyword">this</span>).css(<span class="stringliteral">&quot;position&quot;</span>)==<span class="stringliteral">&quot;fixed&quot;</span>,!e}),e&amp;&amp;$.browser.opera&amp;&amp;($.datepicker._pos[0]-=document.documentElement.scrollLeft,$.datepicker._pos[1]-=document.documentElement.scrollTop);var f={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null,b.dpDiv.empty(),b.dpDiv.css({position:<span class="stringliteral">&quot;absolute&quot;</span>,display:<span class="stringliteral">&quot;block&quot;</span>,top:<span class="stringliteral">&quot;-1000px&quot;</span>}),$.datepicker._updateDatepicker(b),f=$.datepicker._checkOffset(b,f,e),b.dpDiv.css({position:$.datepicker._inDialog&amp;&amp;$.blockUI?<span class="stringliteral">&quot;static&quot;</span>:e?<span class="stringliteral">&quot;fixed&quot;</span>:<span class="stringliteral">&quot;absolute&quot;</span>,display:<span class="stringliteral">&quot;none&quot;</span>,left:f.left+<span class="stringliteral">&quot;px&quot;</span>,top:f.top+<span class="stringliteral">&quot;px&quot;</span>});<span class="keywordflow">if</span>(!b.inline){var g=$.datepicker._get(b,<span class="stringliteral">&quot;showAnim&quot;</span>),h=$.datepicker._get(b,<span class="stringliteral">&quot;duration&quot;</span>),i=<span class="keyword">function</span>(){var a=b.dpDiv.find(<span class="stringliteral">&quot;iframe.ui-datepicker-cover&quot;</span>);<span class="keywordflow">if</span>(!!a.length){var c=$.datepicker._getBorders(b.dpDiv);a.css({left:-c[0],top:-c[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex($(a).zIndex()+1),$.datepicker._datepickerShowing=!0,$.effects&amp;&amp;$.effects[g]?b.dpDiv.show(g,$.datepicker._get(b,<span class="stringliteral">&quot;showOptions&quot;</span>),h,i):b.dpDiv[g||<span class="stringliteral">&quot;show&quot;</span>](g?h:null,i),(!g||!h)&amp;&amp;i(),b.input.is(<span class="stringliteral">&quot;:visible&quot;</span>)&amp;&amp;!b.input.is(<span class="stringliteral">&quot;:disabled&quot;</span>)&amp;&amp;b.input.focus(),$.datepicker._curInst=b}},_updateDatepicker:<span class="keyword">function</span>(a){var b=<span class="keyword">this</span>;b.maxRows=4;var c=$.datepicker._getBorders(a.dpDiv);instActive=a,a.dpDiv.empty().append(this._generateHTML(a));var d=a.dpDiv.find(<span class="stringliteral">&quot;iframe.ui-datepicker-cover&quot;</span>);!d.length||d.css({left:-c[0],top:-c[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()}),a.dpDiv.find(<span class="stringliteral">&quot;.&quot;</span>+<span class="keyword">this</span>._dayOverClass+<span class="stringliteral">&quot; a&quot;</span>).mouseover();var e=this._getNumberOfMonths(a),f=e[1],g=17;a.dpDiv.removeClass(<span class="stringliteral">&quot;ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4&quot;</span>).width(<span class="stringliteral">&quot;&quot;</span>),f&gt;1&amp;&amp;a.dpDiv.addClass(<span class="stringliteral">&quot;ui-datepicker-multi-&quot;</span>+f).css(<span class="stringliteral">&quot;width&quot;</span>,g*f+<span class="stringliteral">&quot;em&quot;</span>),a.dpDiv[(e[0]!=1||e[1]!=1?<span class="stringliteral">&quot;add&quot;</span>:<span class="stringliteral">&quot;remove&quot;</span>)+<span class="stringliteral">&quot;Class&quot;</span>](<span class="stringliteral">&quot;ui-datepicker-multi&quot;</span>),a.dpDiv[(this._get(a,<span class="stringliteral">&quot;isRTL&quot;</span>)?<span class="stringliteral">&quot;add&quot;</span>:<span class="stringliteral">&quot;remove&quot;</span>)+<span class="stringliteral">&quot;Class&quot;</span>](<span class="stringliteral">&quot;ui-datepicker-rtl&quot;</span>),a==$.datepicker._curInst&amp;&amp;$.datepicker._datepickerShowing&amp;&amp;a.input&amp;&amp;a.input.is(<span class="stringliteral">&quot;:visible&quot;</span>)&amp;&amp;!a.input.is(<span class="stringliteral">&quot;:disabled&quot;</span>)&amp;&amp;a.input[0]!=document.activeElement&amp;&amp;a.input.focus();<span class="keywordflow">if</span>(a.yearshtml){var h=a.yearshtml;setTimeout(<span class="keyword">function</span>(){h===a.yearshtml&amp;&amp;a.yearshtml&amp;&amp;a.dpDiv.find(<span class="stringliteral">&quot;select.ui-datepicker-year:first&quot;</span>).replaceWith(a.yearshtml),h=a.yearshtml=null},0)}},_getBorders:<span class="keyword">function</span>(a){var b=<span class="keyword">function</span>(a){<span class="keywordflow">return</span>{thin:1,medium:2,thick:3}[a]||a};<span class="keywordflow">return</span>[parseFloat(b(a.css(<span class="stringliteral">&quot;border-left-width&quot;</span>))),parseFloat(b(a.css(<span class="stringliteral">&quot;border-top-width&quot;</span>)))]},_checkOffset:<span class="keyword">function</span>(a,b,c){var d=a.dpDiv.outerWidth(),e=a.dpDiv.outerHeight(),f=a.input?a.input.outerWidth():0,g=a.input?a.input.outerHeight():0,h=document.documentElement.clientWidth+$(document).scrollLeft(),i=document.documentElement.clientHeight+$(document).scrollTop();<span class="keywordflow">return</span> b.left-=this._get(a,<span class="stringliteral">&quot;isRTL&quot;</span>)?d-f:0,b.left-=c&amp;&amp;b.left==a.input.offset().left?$(document).scrollLeft():0,b.top-=c&amp;&amp;b.top==a.input.offset().top+g?$(document).scrollTop():0,b.left-=Math.min(b.left,b.left+d&gt;h&amp;&amp;h&gt;d?Math.abs(b.left+d-h):0),b.top-=Math.min(b.top,b.top+e&gt;i&amp;&amp;i&gt;e?Math.abs(e+g):0),b},_findPos:function(a){var b=this._getInst(a),c=this._get(b,<span class="stringliteral">&quot;isRTL&quot;</span>);<span class="keywordflow">while</span>(a&amp;&amp;(a.type==<span class="stringliteral">&quot;hidden&quot;</span>||a.nodeType!=1||$.expr.filters.hidden(a)))a=a[c?<span class="stringliteral">&quot;previousSibling&quot;</span>:<span class="stringliteral">&quot;nextSibling&quot;</span>];var d=$(a).offset();<span class="keywordflow">return</span>[d.left,d.top]},_hideDatepicker:<span class="keyword">function</span>(a){var b=this._curInst;<span class="keywordflow">if</span>(!b||a&amp;&amp;b!=$.data(a,PROP_NAME))<span class="keywordflow">return</span>;<span class="keywordflow">if</span>(this._datepickerShowing){var c=this._get(b,<span class="stringliteral">&quot;showAnim&quot;</span>),d=this._get(b,<span class="stringliteral">&quot;duration&quot;</span>),e=<span class="keyword">function</span>(){$.datepicker._tidyDialog(b)};$.effects&amp;&amp;$.effects[c]?b.dpDiv.hide(c,$.datepicker._get(b,<span class="stringliteral">&quot;showOptions&quot;</span>),d,e):b.dpDiv[c==<span class="stringliteral">&quot;slideDown&quot;</span>?<span class="stringliteral">&quot;slideUp&quot;</span>:c==<span class="stringliteral">&quot;fadeIn&quot;</span>?<span class="stringliteral">&quot;fadeOut&quot;</span>:<span class="stringliteral">&quot;hide&quot;</span>](c?d:null,e),c||e(),this._datepickerShowing=!1;var f=this._get(b,<span class="stringliteral">&quot;onClose&quot;</span>);f&amp;&amp;f.apply(b.input?b.input[0]:null,[b.input?b.input.val():<span class="stringliteral">&quot;&quot;</span>,b]),this._lastInput=null,this._inDialog&amp;&amp;(this._dialogInput.css({position:<span class="stringliteral">&quot;absolute&quot;</span>,left:<span class="stringliteral">&quot;0&quot;</span>,top:<span class="stringliteral">&quot;-100px&quot;</span>}),$.blockUI&amp;&amp;($.unblockUI(),$(<span class="stringliteral">&quot;body&quot;</span>).append(this.dpDiv))),this._inDialog=!1}},_tidyDialog:<span class="keyword">function</span>(a){a.dpDiv.removeClass(this._dialogClass).unbind(<span class="stringliteral">&quot;.ui-datepicker-calendar&quot;</span>)},_checkExternalClick:<span class="keyword">function</span>(a){<span class="keywordflow">if</span>(!$.datepicker._curInst)<span class="keywordflow">return</span>;var b=$(a.target),c=$.datepicker._getInst(b[0]);(b[0].id!=$.datepicker._mainDivId&amp;&amp;b.parents(<span class="stringliteral">&quot;#&quot;</span>+$.datepicker._mainDivId).length==0&amp;&amp;!b.hasClass($.datepicker.markerClassName)&amp;&amp;!b.closest(<span class="stringliteral">&quot;.&quot;</span>+$.datepicker._triggerClass).length&amp;&amp;$.datepicker._datepickerShowing&amp;&amp;(!$.datepicker._inDialog||!$.blockUI)||b.hasClass($.datepicker.markerClassName)&amp;&amp;$.datepicker._curInst!=c)&amp;&amp;$.datepicker._hideDatepicker()},_adjustDate:<span class="keyword">function</span>(a,b,c){var d=$(a),e=this._getInst(d[0]);<span class="keywordflow">if</span>(this._isDisabledDatepicker(d[0]))<span class="keywordflow">return</span>;this._adjustInstDate(e,b+(c==<span class="stringliteral">&quot;M&quot;</span>?this._get(e,<span class="stringliteral">&quot;showCurrentAtPos&quot;</span>):0),c),this._updateDatepicker(e)},_gotoToday:<span class="keyword">function</span>(a){var b=$(a),c=this._getInst(b[0]);<span class="keywordflow">if</span>(this._get(c,<span class="stringliteral">&quot;gotoCurrent&quot;</span>)&amp;&amp;c.currentDay)c.selectedDay=c.currentDay,c.drawMonth=c.selectedMonth=c.currentMonth,c.drawYear=c.selectedYear=c.currentYear;<span class="keywordflow">else</span>{var d=<span class="keyword">new</span> Date;c.selectedDay=d.getDate(),c.drawMonth=c.selectedMonth=d.getMonth(),c.drawYear=c.selectedYear=d.getFullYear()}this._notifyChange(c),this._adjustDate(b)},_selectMonthYear:<span class="keyword">function</span>(a,b,c){var d=$(a),e=this._getInst(d[0]);e[<span class="stringliteral">&quot;selected&quot;</span>+(c==<span class="stringliteral">&quot;M&quot;</span>?<span class="stringliteral">&quot;Month&quot;</span>:<span class="stringliteral">&quot;Year&quot;</span>)]=e[<span class="stringliteral">&quot;draw&quot;</span>+(c==<span class="stringliteral">&quot;M&quot;</span>?<span class="stringliteral">&quot;Month&quot;</span>:<span class="stringliteral">&quot;Year&quot;</span>)]=parseInt(b.options[b.selectedIndex].value,10),this._notifyChange(e),this._adjustDate(d)},_selectDay:<span class="keyword">function</span>(a,b,c,d){var e=$(a);<span class="keywordflow">if</span>($(d).hasClass(this._unselectableClass)||this._isDisabledDatepicker(e[0]))<span class="keywordflow">return</span>;var f=this._getInst(e[0]);f.selectedDay=f.currentDay=$(<span class="stringliteral">&quot;a&quot;</span>,d).html(),f.selectedMonth=f.currentMonth=b,f.selectedYear=f.currentYear=c,this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))},_clearDate:<span class="keyword">function</span>(a){var b=$(a),c=this._getInst(b[0]);this._selectDate(b,<span class="stringliteral">&quot;&quot;</span>)},_selectDate:<span class="keyword">function</span>(a,b){var c=$(a),d=this._getInst(c[0]);b=b!=null?b:this._formatDate(d),d.input&amp;&amp;d.input.val(b),this._updateAlternate(d);var e=this._get(d,<span class="stringliteral">&quot;onSelect&quot;</span>);e?e.apply(d.input?d.input[0]:null,[b,d]):d.input&amp;&amp;d.input.trigger(<span class="stringliteral">&quot;change&quot;</span>),d.inline?this._updateDatepicker(d):(this._hideDatepicker(),this._lastInput=d.input[0],typeof d.input[0]!=<span class="stringliteral">&quot;object&quot;</span>&amp;&amp;d.input.focus(),this._lastInput=null)},_updateAlternate:function(a){var b=this._get(a,<span class="stringliteral">&quot;altField&quot;</span>);<span class="keywordflow">if</span>(b){var c=this._get(a,<span class="stringliteral">&quot;altFormat&quot;</span>)||this._get(a,<span class="stringliteral">&quot;dateFormat&quot;</span>),d=this._getDate(a),e=this.formatDate(c,d,this._getFormatConfig(a));$(b).each(<span class="keyword">function</span>(){$(<span class="keyword">this</span>).val(e)})}},noWeekends:<span class="keyword">function</span>(a){var b=a.getDay();<span class="keywordflow">return</span>[b&gt;0&amp;&amp;b&lt;6,<span class="stringliteral">&quot;&quot;</span>]},iso8601Week:<span class="keyword">function</span>(a){var b=<span class="keyword">new</span> Date(a.getTime());b.setDate(b.getDate()+4-(b.getDay()||7));var c=b.getTime();<span class="keywordflow">return</span> b.setMonth(0),b.setDate(1),Math.floor(Math.round((c-b)/864e5)/7)+1},parseDate:<span class="keyword">function</span>(a,b,c){<span class="keywordflow">if</span>(a==null||b==null)<span class="keywordflow">throw</span><span class="stringliteral">&quot;Invalid arguments&quot;</span>;b=typeof b==<span class="stringliteral">&quot;object&quot;</span>?b.toString():b+<span class="stringliteral">&quot;&quot;</span>;<span class="keywordflow">if</span>(b==<span class="stringliteral">&quot;&quot;</span>)<span class="keywordflow">return</span> null;var d=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;d=typeof d!=<span class="stringliteral">&quot;string&quot;</span>?d:(<span class="keyword">new</span> Date).getFullYear()%100+parseInt(d,10);var e=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,g=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,h=(c?c.monthNames:null)||this._defaults.monthNames,i=-1,j=-1,k=-1,l=-1,m=!1,n=<span class="keyword">function</span>(b){var c=s+1&lt;a.length&amp;&amp;a.charAt(s+1)==b;<span class="keywordflow">return</span> c&amp;&amp;s++,c},o=<span class="keyword">function</span>(a){var c=n(a),d=a==<span class="stringliteral">&quot;@&quot;</span>?14:a==<span class="stringliteral">&quot;!&quot;</span>?20:a==<span class="stringliteral">&quot;y&quot;</span>&amp;&amp;c?4:a==<span class="stringliteral">&quot;o&quot;</span>?3:2,e=<span class="keyword">new</span> RegExp(<span class="stringliteral">&quot;^\\d{1,&quot;</span>+d+<span class="stringliteral">&quot;}&quot;</span>),f=b.substring(r).match(e);<span class="keywordflow">if</span>(!f)<span class="keywordflow">throw</span><span class="stringliteral">&quot;Missing number at position &quot;</span>+r;<span class="keywordflow">return</span> r+=f[0].length,parseInt(f[0],10)},p=<span class="keyword">function</span>(a,c,d){var e=$.map(n(a)?d:c,<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span>[[b,a]]}).sort(<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span>-(a[1].length-b[1].length)}),f=-1;$.each(e,<span class="keyword">function</span>(a,c){var d=c[1];<span class="keywordflow">if</span>(b.substr(r,d.length).toLowerCase()==d.toLowerCase())<span class="keywordflow">return</span> f=c[0],r+=d.length,!1});<span class="keywordflow">if</span>(f!=-1)<span class="keywordflow">return</span> f+1;<span class="keywordflow">throw</span><span class="stringliteral">&quot;Unknown name at position &quot;</span>+r},q=<span class="keyword">function</span>(){<span class="keywordflow">if</span>(b.charAt(r)!=a.charAt(s))<span class="keywordflow">throw</span><span class="stringliteral">&quot;Unexpected literal at position &quot;</span>+r;r++},r=0;<span class="keywordflow">for</span>(var s=0;s&lt;a.length;s++)<span class="keywordflow">if</span>(m)a.charAt(s)==<span class="stringliteral">&quot;&#39;&quot;</span>&amp;&amp;!n(<span class="stringliteral">&quot;&#39;&quot;</span>)?m=!1:q();<span class="keywordflow">else</span> <span class="keywordflow">switch</span>(a.charAt(s)){<span class="keywordflow">case</span><span class="stringliteral">&quot;d&quot;</span>:k=o(<span class="stringliteral">&quot;d&quot;</span>);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;D&quot;</span>:p(<span class="stringliteral">&quot;D&quot;</span>,e,f);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;o&quot;</span>:l=o(<span class="stringliteral">&quot;o&quot;</span>);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;m&quot;</span>:j=o(<span class="stringliteral">&quot;m&quot;</span>);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;M&quot;</span>:j=p(<span class="stringliteral">&quot;M&quot;</span>,g,h);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;y&quot;</span>:i=o(<span class="stringliteral">&quot;y&quot;</span>);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;@&quot;</span>:var t=<span class="keyword">new</span> Date(o(<span class="stringliteral">&quot;@&quot;</span>));i=t.getFullYear(),j=t.getMonth()+1,k=t.getDate();<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;!&quot;</span>:var t=<span class="keyword">new</span> Date((o(<span class="stringliteral">&quot;!&quot;</span>)-this._ticksTo1970)/1e4);i=t.getFullYear(),j=t.getMonth()+1,k=t.getDate();<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;&#39;&quot;</span>:n(<span class="stringliteral">&quot;&#39;&quot;</span>)?q():m=!0;<span class="keywordflow">break</span>;<span class="keywordflow">default</span>:q()}<span class="keywordflow">if</span>(r&lt;b.length)<span class="keywordflow">throw</span><span class="stringliteral">&quot;Extra/unparsed characters found in date: &quot;</span>+b.substring(r);i==-1?i=(<span class="keyword">new</span> Date).getFullYear():i&lt;100&amp;&amp;(i+=(<span class="keyword">new</span> Date).getFullYear()-(<span class="keyword">new</span> Date).getFullYear()%100+(i&lt;=d?0:-100));<span class="keywordflow">if</span>(l&gt;-1){j=1,k=l;<span class="keywordflow">do</span>{var u=this._getDaysInMonth(i,j-1);<span class="keywordflow">if</span>(k&lt;=u)<span class="keywordflow">break</span>;j++,k-=u}<span class="keywordflow">while</span>(!0)}var t=this._daylightSavingAdjust(<span class="keyword">new</span> Date(i,j-1,k));<span class="keywordflow">if</span>(t.getFullYear()!=i||t.getMonth()+1!=j||t.getDate()!=k)<span class="keywordflow">throw</span><span class="stringliteral">&quot;Invalid date&quot;</span>;<span class="keywordflow">return</span> t},ATOM:<span class="stringliteral">&quot;yy-mm-dd&quot;</span>,COOKIE:<span class="stringliteral">&quot;D, dd M yy&quot;</span>,ISO_8601:<span class="stringliteral">&quot;yy-mm-dd&quot;</span>,RFC_822:<span class="stringliteral">&quot;D, d M y&quot;</span>,RFC_850:<span class="stringliteral">&quot;DD, dd-M-y&quot;</span>,RFC_1036:<span class="stringliteral">&quot;D, d M y&quot;</span>,RFC_1123:<span class="stringliteral">&quot;D, d M yy&quot;</span>,RFC_2822:<span class="stringliteral">&quot;D, d M yy&quot;</span>,RSS:<span class="stringliteral">&quot;D, d M y&quot;</span>,TICKS:<span class="stringliteral">&quot;!&quot;</span>,TIMESTAMP:<span class="stringliteral">&quot;@&quot;</span>,W3C:<span class="stringliteral">&quot;yy-mm-dd&quot;</span>,_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1e7,formatDate:<span class="keyword">function</span>(a,b,c){<span class="keywordflow">if</span>(!b)<span class="keywordflow">return</span><span class="stringliteral">&quot;&quot;</span>;var d=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,e=(c?c.dayNames:null)||this._defaults.dayNames,f=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,g=(c?c.monthNames:null)||this._defaults.monthNames,h=<span class="keyword">function</span>(b){var c=m+1&lt;a.length&amp;&amp;a.charAt(m+1)==b;<span class="keywordflow">return</span> c&amp;&amp;m++,c},i=<span class="keyword">function</span>(a,b,c){var d=<span class="stringliteral">&quot;&quot;</span>+b;<span class="keywordflow">if</span>(h(a))<span class="keywordflow">while</span>(d.length&lt;c)d=<span class="stringliteral">&quot;0&quot;</span>+d;<span class="keywordflow">return</span> d},j=<span class="keyword">function</span>(a,b,c,d){<span class="keywordflow">return</span> h(a)?d[b]:c[b]},k=<span class="stringliteral">&quot;&quot;</span>,l=!1;<span class="keywordflow">if</span>(b)<span class="keywordflow">for</span>(var m=0;m&lt;a.length;m++)<span class="keywordflow">if</span>(l)a.charAt(m)==<span class="stringliteral">&quot;&#39;&quot;</span>&amp;&amp;!h(<span class="stringliteral">&quot;&#39;&quot;</span>)?l=!1:k+=a.charAt(m);<span class="keywordflow">else</span> <span class="keywordflow">switch</span>(a.charAt(m)){<span class="keywordflow">case</span><span class="stringliteral">&quot;d&quot;</span>:k+=i(<span class="stringliteral">&quot;d&quot;</span>,b.getDate(),2);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;D&quot;</span>:k+=j(<span class="stringliteral">&quot;D&quot;</span>,b.getDay(),d,e);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;o&quot;</span>:k+=i(<span class="stringliteral">&quot;o&quot;</span>,Math.round(((<span class="keyword">new</span> Date(b.getFullYear(),b.getMonth(),b.getDate())).getTime()-(<span class="keyword">new</span> Date(b.getFullYear(),0,0)).getTime())/864e5),3);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;m&quot;</span>:k+=i(<span class="stringliteral">&quot;m&quot;</span>,b.getMonth()+1,2);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;M&quot;</span>:k+=j(<span class="stringliteral">&quot;M&quot;</span>,b.getMonth(),f,g);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;y&quot;</span>:k+=h(<span class="stringliteral">&quot;y&quot;</span>)?b.getFullYear():(b.getYear()%100&lt;10?<span class="stringliteral">&quot;0&quot;</span>:<span class="stringliteral">&quot;&quot;</span>)+b.getYear()%100;<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;@&quot;</span>:k+=b.getTime();<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;!&quot;</span>:k+=b.getTime()*1e4+this._ticksTo1970;<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;&#39;&quot;</span>:h(<span class="stringliteral">&quot;&#39;&quot;</span>)?k+=<span class="stringliteral">&quot;&#39;&quot;</span>:l=!0;<span class="keywordflow">break</span>;<span class="keywordflow">default</span>:k+=a.charAt(m)}<span class="keywordflow">return</span> k},_possibleChars:<span class="keyword">function</span>(a){var b=<span class="stringliteral">&quot;&quot;</span>,c=!1,d=<span class="keyword">function</span>(b){var c=e+1&lt;a.length&amp;&amp;a.charAt(e+1)==b;<span class="keywordflow">return</span> c&amp;&amp;e++,c};<span class="keywordflow">for</span>(var e=0;e&lt;a.length;e++)<span class="keywordflow">if</span>(c)a.charAt(e)==<span class="stringliteral">&quot;&#39;&quot;</span>&amp;&amp;!d(<span class="stringliteral">&quot;&#39;&quot;</span>)?c=!1:b+=a.charAt(e);<span class="keywordflow">else</span> <span class="keywordflow">switch</span>(a.charAt(e)){<span class="keywordflow">case</span><span class="stringliteral">&quot;d&quot;</span>:<span class="keywordflow">case</span><span class="stringliteral">&quot;m&quot;</span>:<span class="keywordflow">case</span><span class="stringliteral">&quot;y&quot;</span>:<span class="keywordflow">case</span><span class="stringliteral">&quot;@&quot;</span>:b+=<span class="stringliteral">&quot;0123456789&quot;</span>;<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;D&quot;</span>:<span class="keywordflow">case</span><span class="stringliteral">&quot;M&quot;</span>:<span class="keywordflow">return</span> null;<span class="keywordflow">case</span><span class="stringliteral">&quot;&#39;&quot;</span>:d(<span class="stringliteral">&quot;&#39;&quot;</span>)?b+=<span class="stringliteral">&quot;&#39;&quot;</span>:c=!0;<span class="keywordflow">break</span>;<span class="keywordflow">default</span>:b+=a.charAt(e)}<span class="keywordflow">return</span> b},_get:<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span> a.settings[b]!==undefined?a.settings[b]:this._defaults[b]},_setDateFromField:<span class="keyword">function</span>(a,b){<span class="keywordflow">if</span>(a.input.val()==a.lastVal)<span class="keywordflow">return</span>;var c=this._get(a,<span class="stringliteral">&quot;dateFormat&quot;</span>),d=a.lastVal=a.input?a.input.val():null,e,f;e=f=this._getDefaultDate(a);var g=this._getFormatConfig(a);<span class="keywordflow">try</span>{e=this.parseDate(c,d,g)||f}<span class="keywordflow">catch</span>(h){this.log(h),d=b?<span class="stringliteral">&quot;&quot;</span>:d}a.selectedDay=e.getDate(),a.drawMonth=a.selectedMonth=e.getMonth(),a.drawYear=a.selectedYear=e.getFullYear(),a.currentDay=d?e.getDate():0,a.currentMonth=d?e.getMonth():0,a.currentYear=d?e.getFullYear():0,this._adjustInstDate(a)},_getDefaultDate:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> this._restrictMinMax(a,this._determineDate(a,this._get(a,<span class="stringliteral">&quot;defaultDate&quot;</span>),<span class="keyword">new</span> Date))},_determineDate:<span class="keyword">function</span>(a,b,c){var d=<span class="keyword">function</span>(a){var b=<span class="keyword">new</span> Date;<span class="keywordflow">return</span> b.setDate(b.getDate()+a),b},e=<span class="keyword">function</span>(b){<span class="keywordflow">try</span>{<span class="keywordflow">return</span> $.datepicker.parseDate($.datepicker._get(a,<span class="stringliteral">&quot;dateFormat&quot;</span>),b,$.datepicker._getFormatConfig(a))}<span class="keywordflow">catch</span>(c){}var d=(b.toLowerCase().match(/^c/)?$.datepicker._getDate(a):null)||<span class="keyword">new</span> Date,e=d.getFullYear(),f=d.getMonth(),g=d.getDate(),h=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,i=h.exec(b);<span class="keywordflow">while</span>(i){<span class="keywordflow">switch</span>(i[2]||<span class="stringliteral">&quot;d&quot;</span>){<span class="keywordflow">case</span><span class="stringliteral">&quot;d&quot;</span>:<span class="keywordflow">case</span><span class="stringliteral">&quot;D&quot;</span>:g+=parseInt(i[1],10);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;w&quot;</span>:<span class="keywordflow">case</span><span class="stringliteral">&quot;W&quot;</span>:g+=parseInt(i[1],10)*7;<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;m&quot;</span>:<span class="keywordflow">case</span><span class="stringliteral">&quot;M&quot;</span>:f+=parseInt(i[1],10),g=Math.min(g,$.datepicker._getDaysInMonth(e,f));<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;y&quot;</span>:<span class="keywordflow">case</span><span class="stringliteral">&quot;Y&quot;</span>:e+=parseInt(i[1],10),g=Math.min(g,$.datepicker._getDaysInMonth(e,f))}i=h.exec(b)}<span class="keywordflow">return</span> <span class="keyword">new</span> Date(e,f,g)},f=b==null||b===<span class="stringliteral">&quot;&quot;</span>?c:typeof b==<span class="stringliteral">&quot;string&quot;</span>?e(b):typeof b==<span class="stringliteral">&quot;number&quot;</span>?isNaN(b)?c:d(b):new Date(b.getTime());<span class="keywordflow">return</span> f=f&amp;&amp;f.toString()==<span class="stringliteral">&quot;Invalid Date&quot;</span>?c:f,f&amp;&amp;(f.setHours(0),f.setMinutes(0),f.setSeconds(0),f.setMilliseconds(0)),this._daylightSavingAdjust(f)},_daylightSavingAdjust:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> a?(a.setHours(a.getHours()&gt;12?a.getHours()+2:0),a):null},_setDate:function(a,b,c){var d=!b,e=a.selectedMonth,f=a.selectedYear,g=this._restrictMinMax(a,this._determineDate(a,b,<span class="keyword">new</span> Date));a.selectedDay=a.currentDay=g.getDate(),a.drawMonth=a.selectedMonth=a.currentMonth=g.getMonth(),a.drawYear=a.selectedYear=a.currentYear=g.getFullYear(),(e!=a.selectedMonth||f!=a.selectedYear)&amp;&amp;!c&amp;&amp;this._notifyChange(a),this._adjustInstDate(a),a.input&amp;&amp;a.input.val(d?<span class="stringliteral">&quot;&quot;</span>:this._formatDate(a))},_getDate:<span class="keyword">function</span>(a){var b=!a.currentYear||a.input&amp;&amp;a.input.val()==<span class="stringliteral">&quot;&quot;</span>?null:this._daylightSavingAdjust(<span class="keyword">new</span> Date(a.currentYear,a.currentMonth,a.currentDay));<span class="keywordflow">return</span> b},_generateHTML:<span class="keyword">function</span>(a){var b=<span class="keyword">new</span> Date;b=this._daylightSavingAdjust(<span class="keyword">new</span> Date(b.getFullYear(),b.getMonth(),b.getDate()));var c=this._get(a,<span class="stringliteral">&quot;isRTL&quot;</span>),d=this._get(a,<span class="stringliteral">&quot;showButtonPanel&quot;</span>),e=this._get(a,<span class="stringliteral">&quot;hideIfNoPrevNext&quot;</span>),f=this._get(a,<span class="stringliteral">&quot;navigationAsDateFormat&quot;</span>),g=this._getNumberOfMonths(a),h=this._get(a,<span class="stringliteral">&quot;showCurrentAtPos&quot;</span>),i=this._get(a,<span class="stringliteral">&quot;stepMonths&quot;</span>),j=g[0]!=1||g[1]!=1,k=this._daylightSavingAdjust(a.currentDay?<span class="keyword">new</span> Date(a.currentYear,a.currentMonth,a.currentDay):<span class="keyword">new</span> Date(9999,9,9)),l=this._getMinMaxDate(a,<span class="stringliteral">&quot;min&quot;</span>),m=this._getMinMaxDate(a,<span class="stringliteral">&quot;max&quot;</span>),n=a.drawMonth-h,o=a.drawYear;n&lt;0&amp;&amp;(n+=12,o--);<span class="keywordflow">if</span>(m){var p=this._daylightSavingAdjust(<span class="keyword">new</span> Date(m.getFullYear(),m.getMonth()-g[0]*g[1]+1,m.getDate()));p=l&amp;&amp;p&lt;l?l:p;<span class="keywordflow">while</span>(this._daylightSavingAdjust(<span class="keyword">new</span> Date(o,n,1))&gt;p)n--,n&lt;0&amp;&amp;(n=11,o--)}a.drawMonth=n,a.drawYear=o;var q=<span class="keyword">this</span>._get(a,<span class="stringliteral">&quot;prevText&quot;</span>);q=f?this.formatDate(q,this._daylightSavingAdjust(<span class="keyword">new</span> Date(o,n-i,1)),this._getFormatConfig(a)):q;var r=this._canAdjustMonth(a,-1,o,n)?<span class="stringliteral">&#39;&lt;a class=&quot;ui-datepicker-prev ui-corner-all&quot; onclick=&quot;DP_jQuery_&#39;</span>+dpuuid+<span class="stringliteral">&quot;.datepicker._adjustDate(&#39;#&quot;</span>+a.id+<span class="stringliteral">&quot;&#39;, -&quot;</span>+i+<span class="stringliteral">&quot;, &#39;M&#39;);\&quot;&quot;</span>+<span class="stringliteral">&#39; title=&quot;&#39;</span>+q+<span class="stringliteral">&#39;&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-&#39;</span>+(c?<span class="stringliteral">&quot;e&quot;</span>:<span class="stringliteral">&quot;w&quot;</span>)+<span class="stringliteral">&#39;&quot;&gt;&#39;</span>+q+<span class="stringliteral">&quot;&lt;/span&gt;&lt;/a&gt;&quot;</span>:e?<span class="stringliteral">&quot;&quot;</span>:<span class="stringliteral">&#39;&lt;a class=&quot;ui-datepicker-prev ui-corner-all ui-state-disabled&quot; title=&quot;&#39;</span>+q+<span class="stringliteral">&#39;&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-&#39;</span>+(c?<span class="stringliteral">&quot;e&quot;</span>:<span class="stringliteral">&quot;w&quot;</span>)+<span class="stringliteral">&#39;&quot;&gt;&#39;</span>+q+<span class="stringliteral">&quot;&lt;/span&gt;&lt;/a&gt;&quot;</span>,s=this._get(a,<span class="stringliteral">&quot;nextText&quot;</span>);s=f?this.formatDate(s,this._daylightSavingAdjust(<span class="keyword">new</span> Date(o,n+i,1)),this._getFormatConfig(a)):s;var t=this._canAdjustMonth(a,1,o,n)?<span class="stringliteral">&#39;&lt;a class=&quot;ui-datepicker-next ui-corner-all&quot; onclick=&quot;DP_jQuery_&#39;</span>+dpuuid+<span class="stringliteral">&quot;.datepicker._adjustDate(&#39;#&quot;</span>+a.id+<span class="stringliteral">&quot;&#39;, +&quot;</span>+i+<span class="stringliteral">&quot;, &#39;M&#39;);\&quot;&quot;</span>+<span class="stringliteral">&#39; title=&quot;&#39;</span>+s+<span class="stringliteral">&#39;&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-&#39;</span>+(c?<span class="stringliteral">&quot;w&quot;</span>:<span class="stringliteral">&quot;e&quot;</span>)+<span class="stringliteral">&#39;&quot;&gt;&#39;</span>+s+<span class="stringliteral">&quot;&lt;/span&gt;&lt;/a&gt;&quot;</span>:e?<span class="stringliteral">&quot;&quot;</span>:<span class="stringliteral">&#39;&lt;a class=&quot;ui-datepicker-next ui-corner-all ui-state-disabled&quot; title=&quot;&#39;</span>+s+<span class="stringliteral">&#39;&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-&#39;</span>+(c?<span class="stringliteral">&quot;w&quot;</span>:<span class="stringliteral">&quot;e&quot;</span>)+<span class="stringliteral">&#39;&quot;&gt;&#39;</span>+s+<span class="stringliteral">&quot;&lt;/span&gt;&lt;/a&gt;&quot;</span>,u=this._get(a,<span class="stringliteral">&quot;currentText&quot;</span>),v=this._get(a,<span class="stringliteral">&quot;gotoCurrent&quot;</span>)&amp;&amp;a.currentDay?k:b;u=f?this.formatDate(u,v,this._getFormatConfig(a)):u;var w=a.inline?<span class="stringliteral">&quot;&quot;</span>:<span class="stringliteral">&#39;&lt;button type=&quot;button&quot; class=&quot;ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all&quot; onclick=&quot;DP_jQuery_&#39;</span>+dpuuid+<span class="stringliteral">&#39;.datepicker._hideDatepicker();&quot;&gt;&#39;</span>+this._get(a,<span class="stringliteral">&quot;closeText&quot;</span>)+<span class="stringliteral">&quot;&lt;/button&gt;&quot;</span>,x=d?<span class="stringliteral">&#39;&lt;div class=&quot;ui-datepicker-buttonpane ui-widget-content&quot;&gt;&#39;</span>+(c?w:<span class="stringliteral">&quot;&quot;</span>)+(this._isInRange(a,v)?<span class="stringliteral">&#39;&lt;button type=&quot;button&quot; class=&quot;ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all&quot; onclick=&quot;DP_jQuery_&#39;</span>+dpuuid+<span class="stringliteral">&quot;.datepicker._gotoToday(&#39;#&quot;</span>+a.id+<span class="stringliteral">&quot;&#39;);\&quot;&quot;</span>+<span class="stringliteral">&quot;&gt;&quot;</span>+u+<span class="stringliteral">&quot;&lt;/button&gt;&quot;</span>:<span class="stringliteral">&quot;&quot;</span>)+(c?<span class="stringliteral">&quot;&quot;</span>:w)+<span class="stringliteral">&quot;&lt;/div&gt;&quot;</span>:<span class="stringliteral">&quot;&quot;</span>,y=parseInt(this._get(a,<span class="stringliteral">&quot;firstDay&quot;</span>),10);y=isNaN(y)?0:y;var z=this._get(a,<span class="stringliteral">&quot;showWeek&quot;</span>),A=this._get(a,<span class="stringliteral">&quot;dayNames&quot;</span>),B=this._get(a,<span class="stringliteral">&quot;dayNamesShort&quot;</span>),C=this._get(a,<span class="stringliteral">&quot;dayNamesMin&quot;</span>),D=this._get(a,<span class="stringliteral">&quot;monthNames&quot;</span>),E=this._get(a,<span class="stringliteral">&quot;monthNamesShort&quot;</span>),F=this._get(a,<span class="stringliteral">&quot;beforeShowDay&quot;</span>),G=this._get(a,<span class="stringliteral">&quot;showOtherMonths&quot;</span>),H=this._get(a,<span class="stringliteral">&quot;selectOtherMonths&quot;</span>),I=this._get(a,<span class="stringliteral">&quot;calculateWeek&quot;</span>)||this.iso8601Week,J=this._getDefaultDate(a),K=<span class="stringliteral">&quot;&quot;</span>;<span class="keywordflow">for</span>(var L=0;L&lt;g[0];L++){var M=<span class="stringliteral">&quot;&quot;</span>;this.maxRows=4;<span class="keywordflow">for</span>(var N=0;N&lt;g[1];N++){var O=this._daylightSavingAdjust(<span class="keyword">new</span> Date(o,n,a.selectedDay)),P=<span class="stringliteral">&quot; ui-corner-all&quot;</span>,Q=<span class="stringliteral">&quot;&quot;</span>;<span class="keywordflow">if</span>(j){Q+=<span class="stringliteral">&#39;&lt;div class=&quot;ui-datepicker-group&#39;</span>;<span class="keywordflow">if</span>(g[1]&gt;1)<span class="keywordflow">switch</span>(N){<span class="keywordflow">case</span> 0:Q+=<span class="stringliteral">&quot; ui-datepicker-group-first&quot;</span>,P=<span class="stringliteral">&quot; ui-corner-&quot;</span>+(c?<span class="stringliteral">&quot;right&quot;</span>:<span class="stringliteral">&quot;left&quot;</span>);<span class="keywordflow">break</span>;<span class="keywordflow">case</span> g[1]-1:Q+=<span class="stringliteral">&quot; ui-datepicker-group-last&quot;</span>,P=<span class="stringliteral">&quot; ui-corner-&quot;</span>+(c?<span class="stringliteral">&quot;left&quot;</span>:<span class="stringliteral">&quot;right&quot;</span>);<span class="keywordflow">break</span>;<span class="keywordflow">default</span>:Q+=<span class="stringliteral">&quot; ui-datepicker-group-middle&quot;</span>,P=<span class="stringliteral">&quot;&quot;</span>}Q+=<span class="stringliteral">&#39;&quot;&gt;&#39;</span>}Q+=<span class="stringliteral">&#39;&lt;div class=&quot;ui-datepicker-header ui-widget-header ui-helper-clearfix&#39;</span>+P+<span class="stringliteral">&#39;&quot;&gt;&#39;</span>+(/all|left/.test(P)&amp;&amp;L==0?c?t:r:<span class="stringliteral">&quot;&quot;</span>)+(/all|right/.test(P)&amp;&amp;L==0?c?r:t:<span class="stringliteral">&quot;&quot;</span>)+this._generateMonthYearHeader(a,n,o,l,m,L&gt;0||N&gt;0,D,E)+<span class="stringliteral">&#39;&lt;/div&gt;&lt;table class=&quot;ui-datepicker-calendar&quot;&gt;&lt;thead&gt;&#39;</span>+<span class="stringliteral">&quot;&lt;tr&gt;&quot;</span>;var R=z?<span class="stringliteral">&#39;&lt;th class=&quot;ui-datepicker-week-col&quot;&gt;&#39;</span>+this._get(a,<span class="stringliteral">&quot;weekHeader&quot;</span>)+<span class="stringliteral">&quot;&lt;/th&gt;&quot;</span>:<span class="stringliteral">&quot;&quot;</span>;<span class="keywordflow">for</span>(var S=0;S&lt;7;S++){var T=(S+y)%7;R+=<span class="stringliteral">&quot;&lt;th&quot;</span>+((S+y+6)%7&gt;=5?<span class="stringliteral">&#39; class=&quot;ui-datepicker-week-end&quot;&#39;</span>:<span class="stringliteral">&quot;&quot;</span>)+<span class="stringliteral">&quot;&gt;&quot;</span>+<span class="stringliteral">&#39;&lt;span title=&quot;&#39;</span>+A[T]+<span class="stringliteral">&#39;&quot;&gt;&#39;</span>+C[T]+<span class="stringliteral">&quot;&lt;/span&gt;&lt;/th&gt;&quot;</span>}Q+=R+<span class="stringliteral">&quot;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&quot;</span>;var U=this._getDaysInMonth(o,n);o==a.selectedYear&amp;&amp;n==a.selectedMonth&amp;&amp;(a.selectedDay=Math.min(a.selectedDay,U));var V=(this._getFirstDayOfMonth(o,n)-y+7)%7,W=Math.ceil((V+U)/7),X=j?this.maxRows&gt;W?this.maxRows:W:W;this.maxRows=X;var Y=this._daylightSavingAdjust(<span class="keyword">new</span> Date(o,n,1-V));<span class="keywordflow">for</span>(var Z=0;Z&lt;X;Z++){Q+=<span class="stringliteral">&quot;&lt;tr&gt;&quot;</span>;var _=z?<span class="stringliteral">&#39;&lt;td class=&quot;ui-datepicker-week-col&quot;&gt;&#39;</span>+this._get(a,<span class="stringliteral">&quot;calculateWeek&quot;</span>)(Y)+<span class="stringliteral">&quot;&lt;/td&gt;&quot;</span>:<span class="stringliteral">&quot;&quot;</span>;<span class="keywordflow">for</span>(var S=0;S&lt;7;S++){var ba=F?F.apply(a.input?a.input[0]:null,[Y]):[!0,<span class="stringliteral">&quot;&quot;</span>],bb=Y.getMonth()!=n,bc=bb&amp;&amp;!H||!ba[0]||l&amp;&amp;Y&lt;l||m&amp;&amp;Y&gt;m;_+=<span class="stringliteral">&#39;&lt;td class=&quot;&#39;</span>+((S+y+6)%7&gt;=5?<span class="stringliteral">&quot; ui-datepicker-week-end&quot;</span>:<span class="stringliteral">&quot;&quot;</span>)+(bb?<span class="stringliteral">&quot; ui-datepicker-other-month&quot;</span>:<span class="stringliteral">&quot;&quot;</span>)+(Y.getTime()==O.getTime()&amp;&amp;n==a.selectedMonth&amp;&amp;a._keyEvent||J.getTime()==Y.getTime()&amp;&amp;J.getTime()==O.getTime()?<span class="stringliteral">&quot; &quot;</span>+this._dayOverClass:<span class="stringliteral">&quot;&quot;</span>)+(bc?<span class="stringliteral">&quot; &quot;</span>+this._unselectableClass+<span class="stringliteral">&quot; ui-state-disabled&quot;</span>:<span class="stringliteral">&quot;&quot;</span>)+(bb&amp;&amp;!G?<span class="stringliteral">&quot;&quot;</span>:<span class="stringliteral">&quot; &quot;</span>+ba[1]+(Y.getTime()==k.getTime()?<span class="stringliteral">&quot; &quot;</span>+this._currentClass:<span class="stringliteral">&quot;&quot;</span>)+(Y.getTime()==b.getTime()?<span class="stringliteral">&quot; ui-datepicker-today&quot;</span>:<span class="stringliteral">&quot;&quot;</span>))+<span class="charliteral">&#39;&quot;&#39;</span>+((!bb||G)&amp;&amp;ba[2]?<span class="stringliteral">&#39; title=&quot;&#39;</span>+ba[2]+<span class="charliteral">&#39;&quot;&#39;</span>:<span class="stringliteral">&quot;&quot;</span>)+(bc?<span class="stringliteral">&quot;&quot;</span>:<span class="stringliteral">&#39; onclick=&quot;DP_jQuery_&#39;</span>+dpuuid+<span class="stringliteral">&quot;.datepicker._selectDay(&#39;#&quot;</span>+a.id+<span class="stringliteral">&quot;&#39;,&quot;</span>+Y.getMonth()+<span class="stringliteral">&quot;,&quot;</span>+Y.getFullYear()+<span class="stringliteral">&#39;, this);return false;&quot;&#39;</span>)+<span class="stringliteral">&quot;&gt;&quot;</span>+(bb&amp;&amp;!G?<span class="stringliteral">&quot;&amp;#xa0;&quot;</span>:bc?<span class="stringliteral">&#39;&lt;span class=&quot;ui-state-default&quot;&gt;&#39;</span>+Y.getDate()+<span class="stringliteral">&quot;&lt;/span&gt;&quot;</span>:<span class="stringliteral">&#39;&lt;a class=&quot;ui-state-default&#39;</span>+(Y.getTime()==b.getTime()?<span class="stringliteral">&quot; ui-state-highlight&quot;</span>:<span class="stringliteral">&quot;&quot;</span>)+(Y.getTime()==k.getTime()?<span class="stringliteral">&quot; ui-state-active&quot;</span>:<span class="stringliteral">&quot;&quot;</span>)+(bb?<span class="stringliteral">&quot; ui-priority-secondary&quot;</span>:<span class="stringliteral">&quot;&quot;</span>)+<span class="stringliteral">&#39;&quot; href=&quot;#&quot;&gt;&#39;</span>+Y.getDate()+<span class="stringliteral">&quot;&lt;/a&gt;&quot;</span>)+<span class="stringliteral">&quot;&lt;/td&gt;&quot;</span>,Y.setDate(Y.getDate()+1),Y=this._daylightSavingAdjust(Y)}Q+=_+<span class="stringliteral">&quot;&lt;/tr&gt;&quot;</span>}n++,n&gt;11&amp;&amp;(n=0,o++),Q+=<span class="stringliteral">&quot;&lt;/tbody&gt;&lt;/table&gt;&quot;</span>+(j?<span class="stringliteral">&quot;&lt;/div&gt;&quot;</span>+(g[0]&gt;0&amp;&amp;N==g[1]-1?<span class="stringliteral">&#39;&lt;div class=&quot;ui-datepicker-row-break&quot;&gt;&lt;/div&gt;&#39;</span>:<span class="stringliteral">&quot;&quot;</span>):<span class="stringliteral">&quot;&quot;</span>),M+=Q}K+=M}return K+=x+($.browser.msie&amp;&amp;parseInt($.browser.version,10)&lt;7&amp;&amp;!a.inline?<span class="stringliteral">&#39;&lt;iframe src=&quot;javascript:false;&quot; class=&quot;ui-datepicker-cover&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&#39;</span>:<span class="stringliteral">&quot;&quot;</span>),a._keyEvent=!1,K},_generateMonthYearHeader:function(a,b,c,d,e,f,g,h){var i=this._get(a,<span class="stringliteral">&quot;changeMonth&quot;</span>),j=this._get(a,<span class="stringliteral">&quot;changeYear&quot;</span>),k=this._get(a,<span class="stringliteral">&quot;showMonthAfterYear&quot;</span>),l=<span class="stringliteral">&#39;&lt;div class=&quot;ui-datepicker-title&quot;&gt;&#39;</span>,m=<span class="stringliteral">&quot;&quot;</span>;<span class="keywordflow">if</span>(f||!i)m+=<span class="stringliteral">&#39;&lt;span class=&quot;ui-datepicker-month&quot;&gt;&#39;</span>+g[b]+<span class="stringliteral">&quot;&lt;/span&gt;&quot;</span>;<span class="keywordflow">else</span>{var n=d&amp;&amp;d.getFullYear()==c,o=e&amp;&amp;e.getFullYear()==c;m+=<span class="stringliteral">&#39;&lt;select class=&quot;ui-datepicker-month&quot; onchange=&quot;DP_jQuery_&#39;</span>+dpuuid+<span class="stringliteral">&quot;.datepicker._selectMonthYear(&#39;#&quot;</span>+a.id+<span class="stringliteral">&quot;&#39;, this, &#39;M&#39;);\&quot; &quot;</span>+<span class="stringliteral">&quot;&gt;&quot;</span>;<span class="keywordflow">for</span>(var p=0;p&lt;12;p++)(!n||p&gt;=d.getMonth())&amp;&amp;(!o||p&lt;=e.getMonth())&amp;&amp;(m+=<span class="stringliteral">&#39;&lt;option value=&quot;&#39;</span>+p+<span class="charliteral">&#39;&quot;&#39;</span>+(p==b?<span class="stringliteral">&#39; selected=&quot;selected&quot;&#39;</span>:<span class="stringliteral">&quot;&quot;</span>)+<span class="stringliteral">&quot;&gt;&quot;</span>+h[p]+<span class="stringliteral">&quot;&lt;/option&gt;&quot;</span>);m+=<span class="stringliteral">&quot;&lt;/select&gt;&quot;</span>}k||(l+=m+(f||!i||!j?<span class="stringliteral">&quot;&amp;#xa0;&quot;</span>:<span class="stringliteral">&quot;&quot;</span>));<span class="keywordflow">if</span>(!a.yearshtml){a.yearshtml=<span class="stringliteral">&quot;&quot;</span>;<span class="keywordflow">if</span>(f||!j)l+=<span class="stringliteral">&#39;&lt;span class=&quot;ui-datepicker-year&quot;&gt;&#39;</span>+c+<span class="stringliteral">&quot;&lt;/span&gt;&quot;</span>;<span class="keywordflow">else</span>{var q=this._get(a,<span class="stringliteral">&quot;yearRange&quot;</span>).split(<span class="stringliteral">&quot;:&quot;</span>),r=(<span class="keyword">new</span> Date).getFullYear(),s=<span class="keyword">function</span>(a){var b=a.match(/c[+-].*/)?c+parseInt(a.substring(1),10):a.match(/[+-].*/)?r+parseInt(a,10):parseInt(a,10);<span class="keywordflow">return</span> isNaN(b)?r:b},t=s(q[0]),u=Math.max(t,s(q[1]||<span class="stringliteral">&quot;&quot;</span>));t=d?Math.max(t,d.getFullYear()):t,u=e?Math.min(u,e.getFullYear()):u,a.yearshtml+=<span class="stringliteral">&#39;&lt;select class=&quot;ui-datepicker-year&quot; onchange=&quot;DP_jQuery_&#39;</span>+dpuuid+<span class="stringliteral">&quot;.datepicker._selectMonthYear(&#39;#&quot;</span>+a.id+<span class="stringliteral">&quot;&#39;, this, &#39;Y&#39;);\&quot; &quot;</span>+<span class="stringliteral">&quot;&gt;&quot;</span>;<span class="keywordflow">for</span>(;t&lt;=u;t++)a.yearshtml+=<span class="stringliteral">&#39;&lt;option value=&quot;&#39;</span>+t+<span class="charliteral">&#39;&quot;&#39;</span>+(t==c?<span class="stringliteral">&#39; selected=&quot;selected&quot;&#39;</span>:<span class="stringliteral">&quot;&quot;</span>)+<span class="stringliteral">&quot;&gt;&quot;</span>+t+<span class="stringliteral">&quot;&lt;/option&gt;&quot;</span>;a.yearshtml+=<span class="stringliteral">&quot;&lt;/select&gt;&quot;</span>,l+=a.yearshtml,a.yearshtml=null}}<span class="keywordflow">return</span> l+=this._get(a,<span class="stringliteral">&quot;yearSuffix&quot;</span>),k&amp;&amp;(l+=(f||!i||!j?<span class="stringliteral">&quot;&amp;#xa0;&quot;</span>:<span class="stringliteral">&quot;&quot;</span>)+m),l+=<span class="stringliteral">&quot;&lt;/div&gt;&quot;</span>,l},_adjustInstDate:<span class="keyword">function</span>(a,b,c){var d=a.drawYear+(c==<span class="stringliteral">&quot;Y&quot;</span>?b:0),e=a.drawMonth+(c==<span class="stringliteral">&quot;M&quot;</span>?b:0),f=Math.min(a.selectedDay,<span class="keyword">this</span>._getDaysInMonth(d,e))+(c==<span class="stringliteral">&quot;D&quot;</span>?b:0),g=this._restrictMinMax(a,this._daylightSavingAdjust(<span class="keyword">new</span> Date(d,e,f)));a.selectedDay=g.getDate(),a.drawMonth=a.selectedMonth=g.getMonth(),a.drawYear=a.selectedYear=g.getFullYear(),(c==<span class="stringliteral">&quot;M&quot;</span>||c==<span class="stringliteral">&quot;Y&quot;</span>)&amp;&amp;this._notifyChange(a)},_restrictMinMax:<span class="keyword">function</span>(a,b){var c=this._getMinMaxDate(a,<span class="stringliteral">&quot;min&quot;</span>),d=this._getMinMaxDate(a,<span class="stringliteral">&quot;max&quot;</span>),e=c&amp;&amp;b&lt;c?c:b;return e=d&amp;&amp;e&gt;d?d:e,e},_notifyChange:<span class="keyword">function</span>(a){var b=this._get(a,<span class="stringliteral">&quot;onChangeMonthYear&quot;</span>);b&amp;&amp;b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:<span class="keyword">function</span>(a){var b=this._get(a,<span class="stringliteral">&quot;numberOfMonths&quot;</span>);<span class="keywordflow">return</span> b==null?[1,1]:typeof b==<span class="stringliteral">&quot;number&quot;</span>?[1,b]:b},_getMinMaxDate:<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span> this._determineDate(a,this._get(a,b+<span class="stringliteral">&quot;Date&quot;</span>),null)},_getDaysInMonth:<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span> 32-this._daylightSavingAdjust(<span class="keyword">new</span> Date(a,b,32)).getDate()},_getFirstDayOfMonth:<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span>(<span class="keyword">new</span> Date(a,b,1)).getDay()},_canAdjustMonth:<span class="keyword">function</span>(a,b,c,d){var e=this._getNumberOfMonths(a),f=this._daylightSavingAdjust(<span class="keyword">new</span> Date(c,d+(b&lt;0?b:e[0]*e[1]),1));<span class="keywordflow">return</span> b&lt;0&amp;&amp;f.setDate(this._getDaysInMonth(f.getFullYear(),f.getMonth())),this._isInRange(a,f)},_isInRange:<span class="keyword">function</span>(a,b){var c=this._getMinMaxDate(a,<span class="stringliteral">&quot;min&quot;</span>),d=this._getMinMaxDate(a,<span class="stringliteral">&quot;max&quot;</span>);<span class="keywordflow">return</span>(!c||b.getTime()&gt;=c.getTime())&amp;&amp;(!d||b.getTime()&lt;=d.getTime())},_getFormatConfig:<span class="keyword">function</span>(a){var b=this._get(a,<span class="stringliteral">&quot;shortYearCutoff&quot;</span>);<span class="keywordflow">return</span> b=typeof b!=<span class="stringliteral">&quot;string&quot;</span>?b:(<span class="keyword">new</span> Date).getFullYear()%100+parseInt(b,10),{shortYearCutoff:b,dayNamesShort:this._get(a,<span class="stringliteral">&quot;dayNamesShort&quot;</span>),dayNames:this._get(a,<span class="stringliteral">&quot;dayNames&quot;</span>),monthNamesShort:this._get(a,<span class="stringliteral">&quot;monthNamesShort&quot;</span>),monthNames:this._get(a,<span class="stringliteral">&quot;monthNames&quot;</span>)}},_formatDate:<span class="keyword">function</span>(a,b,c,d){b||(a.currentDay=a.selectedDay,a.currentMonth=a.selectedMonth,a.currentYear=a.selectedYear);var e=b?typeof b==<span class="stringliteral">&quot;object&quot;</span>?b:this._daylightSavingAdjust(<span class="keyword">new</span> Date(d,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));<span class="keywordflow">return</span> this.formatDate(this._get(a,<span class="stringliteral">&quot;dateFormat&quot;</span>),e,this._getFormatConfig(a))}}),$.fn.datepicker=<span class="keyword">function</span>(a){<span class="keywordflow">if</span>(!this.length)<span class="keywordflow">return</span> <span class="keyword">this</span>;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find(<span class="stringliteral">&quot;body&quot;</span>).append($.datepicker.dpDiv),$.datepicker.initialized=!0);var b=Array.prototype.slice.call(arguments,1);<span class="keywordflow">return</span> typeof a!=<span class="stringliteral">&quot;string&quot;</span>||a!=<span class="stringliteral">&quot;isDisabled&quot;</span>&amp;&amp;a!=<span class="stringliteral">&quot;getDate&quot;</span>&amp;&amp;a!=<span class="stringliteral">&quot;widget&quot;</span>?a==<span class="stringliteral">&quot;option&quot;</span>&amp;&amp;arguments.length==2&amp;&amp;typeof arguments[1]==<span class="stringliteral">&quot;string&quot;</span>?$.datepicker[<span class="stringliteral">&quot;_&quot;</span>+a+<span class="stringliteral">&quot;Datepicker&quot;</span>].apply($.datepicker,[<span class="keyword">this</span>[0]].concat(b)):this.each(<span class="keyword">function</span>(){typeof a==<span class="stringliteral">&quot;string&quot;</span>?$.datepicker[<span class="stringliteral">&quot;_&quot;</span>+a+<span class="stringliteral">&quot;Datepicker&quot;</span>].apply($.datepicker,[<span class="keyword">this</span>].concat(b)):$.datepicker._attachDatepicker(<span class="keyword">this</span>,a)}):$.datepicker[<span class="stringliteral">&quot;_&quot;</span>+a+<span class="stringliteral">&quot;Datepicker&quot;</span>].apply($.datepicker,[<span class="keyword">this</span>[0]].concat(b))},$.datepicker=<span class="keyword">new</span> Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(<span class="keyword">new</span> Date).getTime(),$.datepicker.version=<span class="stringliteral">&quot;1.8.20&quot;</span>,window[<span class="stringliteral">&quot;DP_jQuery_&quot;</span>+dpuuid]=$}(jQuery),<span class="keyword">function</span>(a,b){var c=<span class="stringliteral">&quot;ui-dialog ui-widget ui-widget-content ui-corner-all &quot;</span>,d={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},e={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},f=a.attrFn||{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0,click:!0};a.widget(<span class="stringliteral">&quot;ui.dialog&quot;</span>,{options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:<span class="stringliteral">&quot;close&quot;</span>,dialogClass:<span class="stringliteral">&quot;&quot;</span>,draggable:!0,hide:null,height:<span class="stringliteral">&quot;auto&quot;</span>,maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:<span class="stringliteral">&quot;center&quot;</span>,at:<span class="stringliteral">&quot;center&quot;</span>,collision:<span class="stringliteral">&quot;fit&quot;</span>,<span class="keyword">using</span>:<span class="keyword">function</span>(b){var c=a(<span class="keyword">this</span>).css(b).offset().top;c&lt;0&amp;&amp;a(<span class="keyword">this</span>).css(<span class="stringliteral">&quot;top&quot;</span>,b.top-c)}},resizable:!0,show:null,stack:!0,title:<span class="stringliteral">&quot;&quot;</span>,width:300,zIndex:1e3},_create:<span class="keyword">function</span>(){this.originalTitle=this.element.attr(<span class="stringliteral">&quot;title&quot;</span>),typeof this.originalTitle!=<span class="stringliteral">&quot;string&quot;</span>&amp;&amp;(this.originalTitle=<span class="stringliteral">&quot;&quot;</span>),this.options.title=<span class="keyword">this</span>.options.title||<span class="keyword">this</span>.originalTitle;var b=<span class="keyword">this</span>,d=b.options,e=d.title||<span class="stringliteral">&quot;&amp;#160;&quot;</span>,f=a.ui.dialog.getTitleId(b.element),g=(b.uiDialog=a(<span class="stringliteral">&quot;&lt;div&gt;&lt;/div&gt;&quot;</span>)).appendTo(document.body).hide().addClass(c+d.dialogClass).css({zIndex:d.zIndex}).attr(<span class="stringliteral">&quot;tabIndex&quot;</span>,-1).css(<span class="stringliteral">&quot;outline&quot;</span>,0).keydown(<span class="keyword">function</span>(c){d.closeOnEscape&amp;&amp;!c.isDefaultPrevented()&amp;&amp;c.keyCode&amp;&amp;c.keyCode===a.ui.keyCode.ESCAPE&amp;&amp;(b.close(c),c.preventDefault())}).attr({role:<span class="stringliteral">&quot;dialog&quot;</span>,<span class="stringliteral">&quot;aria-labelledby&quot;</span>:f}).mousedown(<span class="keyword">function</span>(a){b.moveToTop(!1,a)}),h=b.element.show().removeAttr(<span class="stringliteral">&quot;title&quot;</span>).addClass(<span class="stringliteral">&quot;ui-dialog-content ui-widget-content&quot;</span>).appendTo(g),i=(b.uiDialogTitlebar=a(<span class="stringliteral">&quot;&lt;div&gt;&lt;/div&gt;&quot;</span>)).addClass(<span class="stringliteral">&quot;ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix&quot;</span>).prependTo(g),j=a(<span class="stringliteral">&#39;&lt;a href=&quot;#&quot;&gt;&lt;/a&gt;&#39;</span>).addClass(<span class="stringliteral">&quot;ui-dialog-titlebar-close ui-corner-all&quot;</span>).attr(<span class="stringliteral">&quot;role&quot;</span>,<span class="stringliteral">&quot;button&quot;</span>).hover(<span class="keyword">function</span>(){j.addClass(<span class="stringliteral">&quot;ui-state-hover&quot;</span>)},<span class="keyword">function</span>(){j.removeClass(<span class="stringliteral">&quot;ui-state-hover&quot;</span>)}).focus(<span class="keyword">function</span>(){j.addClass(<span class="stringliteral">&quot;ui-state-focus&quot;</span>)}).blur(<span class="keyword">function</span>(){j.removeClass(<span class="stringliteral">&quot;ui-state-focus&quot;</span>)}).click(<span class="keyword">function</span>(a){<span class="keywordflow">return</span> b.close(a),!1}).appendTo(i),k=(b.uiDialogTitlebarCloseText=a(<span class="stringliteral">&quot;&lt;span&gt;&lt;/span&gt;&quot;</span>)).addClass(<span class="stringliteral">&quot;ui-icon ui-icon-closethick&quot;</span>).text(d.closeText).appendTo(j),l=a(<span class="stringliteral">&quot;&lt;span&gt;&lt;/span&gt;&quot;</span>).addClass(<span class="stringliteral">&quot;ui-dialog-title&quot;</span>).attr(<span class="stringliteral">&quot;id&quot;</span>,f).html(e).prependTo(i);a.isFunction(d.beforeclose)&amp;&amp;!a.isFunction(d.beforeClose)&amp;&amp;(d.beforeClose=d.beforeclose),i.find(<span class="stringliteral">&quot;*&quot;</span>).add(i).disableSelection(),d.draggable&amp;&amp;a.fn.draggable&amp;&amp;b._makeDraggable(),d.resizable&amp;&amp;a.fn.resizable&amp;&amp;b._makeResizable(),b._createButtons(d.buttons),b._isOpen=!1,a.fn.bgiframe&amp;&amp;g.bgiframe()},_init:<span class="keyword">function</span>(){this.options.autoOpen&amp;&amp;this.open()},destroy:<span class="keyword">function</span>(){var a=<span class="keyword">this</span>;<span class="keywordflow">return</span> a.overlay&amp;&amp;a.overlay.destroy(),a.uiDialog.hide(),a.element.unbind(<span class="stringliteral">&quot;.dialog&quot;</span>).removeData(<span class="stringliteral">&quot;dialog&quot;</span>).removeClass(<span class="stringliteral">&quot;ui-dialog-content ui-widget-content&quot;</span>).hide().appendTo(<span class="stringliteral">&quot;body&quot;</span>),a.uiDialog.remove(),a.originalTitle&amp;&amp;a.element.attr(<span class="stringliteral">&quot;title&quot;</span>,a.originalTitle),a},widget:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.uiDialog},close:<span class="keyword">function</span>(b){var c=<span class="keyword">this</span>,d,e;<span class="keywordflow">if</span>(!1===c._trigger(<span class="stringliteral">&quot;beforeClose&quot;</span>,b))<span class="keywordflow">return</span>;<span class="keywordflow">return</span> c.overlay&amp;&amp;c.overlay.destroy(),c.uiDialog.unbind(<span class="stringliteral">&quot;keypress.ui-dialog&quot;</span>),c._isOpen=!1,c.options.hide?c.uiDialog.hide(c.options.hide,<span class="keyword">function</span>(){c._trigger(<span class="stringliteral">&quot;close&quot;</span>,b)}):(c.uiDialog.hide(),c._trigger(<span class="stringliteral">&quot;close&quot;</span>,b)),a.ui.dialog.overlay.resize(),c.options.modal&amp;&amp;(d=0,a(<span class="stringliteral">&quot;.ui-dialog&quot;</span>).each(<span class="keyword">function</span>(){<span class="keyword">this</span>!==c.uiDialog[0]&amp;&amp;(e=a(<span class="keyword">this</span>).css(<span class="stringliteral">&quot;z-index&quot;</span>),isNaN(e)||(d=Math.max(d,e)))}),a.ui.dialog.maxZ=d),c},isOpen:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this._isOpen},moveToTop:<span class="keyword">function</span>(b,c){var d=<span class="keyword">this</span>,e=d.options,f;<span class="keywordflow">return</span> e.modal&amp;&amp;!b||!e.stack&amp;&amp;!e.modal?d._trigger(<span class="stringliteral">&quot;focus&quot;</span>,c):(e.zIndex&gt;a.ui.dialog.maxZ&amp;&amp;(a.ui.dialog.maxZ=e.zIndex),d.overlay&amp;&amp;(a.ui.dialog.maxZ+=1,d.overlay.$el.css(<span class="stringliteral">&quot;z-index&quot;</span>,a.ui.dialog.overlay.maxZ=a.ui.dialog.maxZ)),f={scrollTop:d.element.scrollTop(),scrollLeft:d.element.scrollLeft()},a.ui.dialog.maxZ+=1,d.uiDialog.css(<span class="stringliteral">&quot;z-index&quot;</span>,a.ui.dialog.maxZ),d.element.attr(f),d._trigger(<span class="stringliteral">&quot;focus&quot;</span>,c),d)},open:<span class="keyword">function</span>(){<span class="keywordflow">if</span>(this._isOpen)<span class="keywordflow">return</span>;var b=<span class="keyword">this</span>,c=b.options,d=b.uiDialog;<span class="keywordflow">return</span> b.overlay=c.modal?<span class="keyword">new</span> a.ui.dialog.overlay(b):null,b._size(),b._position(c.position),d.show(c.show),b.moveToTop(!0),c.modal&amp;&amp;d.bind(<span class="stringliteral">&quot;keydown.ui-dialog&quot;</span>,<span class="keyword">function</span>(b){<span class="keywordflow">if</span>(b.keyCode!==a.ui.keyCode.TAB)<span class="keywordflow">return</span>;var c=a(<span class="stringliteral">&quot;:tabbable&quot;</span>,<span class="keyword">this</span>),d=c.filter(<span class="stringliteral">&quot;:first&quot;</span>),e=c.filter(<span class="stringliteral">&quot;:last&quot;</span>);<span class="keywordflow">if</span>(b.target===e[0]&amp;&amp;!b.shiftKey)<span class="keywordflow">return</span> d.focus(1),!1;<span class="keywordflow">if</span>(b.target===d[0]&amp;&amp;b.shiftKey)<span class="keywordflow">return</span> e.focus(1),!1}),a(b.element.find(<span class="stringliteral">&quot;:tabbable&quot;</span>).get().concat(d.find(<span class="stringliteral">&quot;.ui-dialog-buttonpane :tabbable&quot;</span>).get().concat(d.get()))).eq(0).focus(),b._isOpen=!0,b._trigger(<span class="stringliteral">&quot;open&quot;</span>),b},_createButtons:<span class="keyword">function</span>(b){var c=<span class="keyword">this</span>,d=!1,e=a(<span class="stringliteral">&quot;&lt;div&gt;&lt;/div&gt;&quot;</span>).addClass(<span class="stringliteral">&quot;ui-dialog-buttonpane ui-widget-content ui-helper-clearfix&quot;</span>),g=a(<span class="stringliteral">&quot;&lt;div&gt;&lt;/div&gt;&quot;</span>).addClass(<span class="stringliteral">&quot;ui-dialog-buttonset&quot;</span>).appendTo(e);c.uiDialog.find(<span class="stringliteral">&quot;.ui-dialog-buttonpane&quot;</span>).remove(),typeof b==<span class="stringliteral">&quot;object&quot;</span>&amp;&amp;b!==null&amp;&amp;a.each(b,<span class="keyword">function</span>(){<span class="keywordflow">return</span>!(d=!0)}),d&amp;&amp;(a.each(b,<span class="keyword">function</span>(b,d){d=a.isFunction(d)?{click:d,text:b}:d;var e=a(<span class="stringliteral">&#39;&lt;button type=&quot;button&quot;&gt;&lt;/button&gt;&#39;</span>).click(<span class="keyword">function</span>(){d.click.apply(c.element[0],arguments)}).appendTo(g);a.each(d,<span class="keyword">function</span>(a,b){<span class="keywordflow">if</span>(a===<span class="stringliteral">&quot;click&quot;</span>)<span class="keywordflow">return</span>;a in f?e[a](b):e.attr(a,b)}),a.fn.button&amp;&amp;e.button()}),e.appendTo(c.uiDialog))},_makeDraggable:<span class="keyword">function</span>(){<span class="keyword">function</span> f(a){<span class="keywordflow">return</span>{position:a.position,offset:a.offset}}var b=<span class="keyword">this</span>,c=b.options,d=a(document),e;b.uiDialog.draggable({cancel:<span class="stringliteral">&quot;.ui-dialog-content, .ui-dialog-titlebar-close&quot;</span>,handle:<span class="stringliteral">&quot;.ui-dialog-titlebar&quot;</span>,containment:<span class="stringliteral">&quot;document&quot;</span>,start:<span class="keyword">function</span>(d,g){e=c.height===<span class="stringliteral">&quot;auto&quot;</span>?<span class="stringliteral">&quot;auto&quot;</span>:a(<span class="keyword">this</span>).height(),a(<span class="keyword">this</span>).height(a(<span class="keyword">this</span>).height()).addClass(<span class="stringliteral">&quot;ui-dialog-dragging&quot;</span>),b._trigger(<span class="stringliteral">&quot;dragStart&quot;</span>,d,f(g))},drag:<span class="keyword">function</span>(a,c){b._trigger(<span class="stringliteral">&quot;drag&quot;</span>,a,f(c))},stop:<span class="keyword">function</span>(g,h){c.position=[h.position.left-d.scrollLeft(),h.position.top-d.scrollTop()],a(<span class="keyword">this</span>).removeClass(<span class="stringliteral">&quot;ui-dialog-dragging&quot;</span>).height(e),b._trigger(<span class="stringliteral">&quot;dragStop&quot;</span>,g,f(h)),a.ui.dialog.overlay.resize()}})},_makeResizable:<span class="keyword">function</span>(c){<span class="keyword">function</span> h(a){<span class="keywordflow">return</span>{originalPosition:a.originalPosition,originalSize:a.originalSize,position:a.position,size:a.size}}c=c===b?this.options.resizable:c;var d=<span class="keyword">this</span>,e=d.options,f=d.uiDialog.css(<span class="stringliteral">&quot;position&quot;</span>),g=typeof c==<span class="stringliteral">&quot;string&quot;</span>?c:<span class="stringliteral">&quot;n,e,s,w,se,sw,ne,nw&quot;</span>;d.uiDialog.resizable({cancel:<span class="stringliteral">&quot;.ui-dialog-content&quot;</span>,containment:<span class="stringliteral">&quot;document&quot;</span>,alsoResize:d.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:d._minHeight(),handles:g,start:<span class="keyword">function</span>(b,c){a(<span class="keyword">this</span>).addClass(<span class="stringliteral">&quot;ui-dialog-resizing&quot;</span>),d._trigger(<span class="stringliteral">&quot;resizeStart&quot;</span>,b,h(c))},resize:<span class="keyword">function</span>(a,b){d._trigger(<span class="stringliteral">&quot;resize&quot;</span>,a,h(b))},stop:<span class="keyword">function</span>(b,c){a(<span class="keyword">this</span>).removeClass(<span class="stringliteral">&quot;ui-dialog-resizing&quot;</span>),e.height=a(<span class="keyword">this</span>).height(),e.width=a(<span class="keyword">this</span>).width(),d._trigger(<span class="stringliteral">&quot;resizeStop&quot;</span>,b,h(c)),a.ui.dialog.overlay.resize()}}).css(<span class="stringliteral">&quot;position&quot;</span>,f).find(<span class="stringliteral">&quot;.ui-resizable-se&quot;</span>).addClass(<span class="stringliteral">&quot;ui-icon ui-icon-grip-diagonal-se&quot;</span>)},_minHeight:<span class="keyword">function</span>(){var a=this.options;<span class="keywordflow">return</span> a.height===<span class="stringliteral">&quot;auto&quot;</span>?a.minHeight:Math.min(a.minHeight,a.height)},_position:<span class="keyword">function</span>(b){var c=[],d=[0,0],e;<span class="keywordflow">if</span>(b){<span class="keywordflow">if</span>(typeof b==<span class="stringliteral">&quot;string&quot;</span>||typeof b==<span class="stringliteral">&quot;object&quot;</span>&amp;&amp;<span class="stringliteral">&quot;0&quot;</span>in b)c=b.split?b.split(<span class="stringliteral">&quot; &quot;</span>):[b[0],b[1]],c.length===1&amp;&amp;(c[1]=c[0]),a.each([<span class="stringliteral">&quot;left&quot;</span>,<span class="stringliteral">&quot;top&quot;</span>],<span class="keyword">function</span>(a,b){+c[a]===c[a]&amp;&amp;(d[a]=c[a],c[a]=b)}),b={my:c.join(<span class="stringliteral">&quot; &quot;</span>),at:c.join(<span class="stringliteral">&quot; &quot;</span>),offset:d.join(<span class="stringliteral">&quot; &quot;</span>)};b=a.extend({},a.ui.dialog.prototype.options.position,b)}<span class="keywordflow">else</span> b=a.ui.dialog.prototype.options.position;e=<span class="keyword">this</span>.uiDialog.is(<span class="stringliteral">&quot;:visible&quot;</span>),e||this.uiDialog.show(),this.uiDialog.css({top:0,left:0}).position(a.extend({of:window},b)),e||this.uiDialog.hide()},_setOptions:<span class="keyword">function</span>(b){var c=<span class="keyword">this</span>,f={},g=!1;a.each(b,<span class="keyword">function</span>(a,b){c._setOption(a,b),a in d&amp;&amp;(g=!0),a in e&amp;&amp;(f[a]=b)}),g&amp;&amp;this._size(),this.uiDialog.is(<span class="stringliteral">&quot;:data(resizable)&quot;</span>)&amp;&amp;this.uiDialog.resizable(<span class="stringliteral">&quot;option&quot;</span>,f)},_setOption:<span class="keyword">function</span>(b,d){var e=<span class="keyword">this</span>,f=e.uiDialog;<span class="keywordflow">switch</span>(b){<span class="keywordflow">case</span><span class="stringliteral">&quot;beforeclose&quot;</span>:b=<span class="stringliteral">&quot;beforeClose&quot;</span>;<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;buttons&quot;</span>:e._createButtons(d);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;closeText&quot;</span>:e.uiDialogTitlebarCloseText.text(<span class="stringliteral">&quot;&quot;</span>+d);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;dialogClass&quot;</span>:f.removeClass(e.options.dialogClass).addClass(c+d);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;disabled&quot;</span>:d?f.addClass(<span class="stringliteral">&quot;ui-dialog-disabled&quot;</span>):f.removeClass(<span class="stringliteral">&quot;ui-dialog-disabled&quot;</span>);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;draggable&quot;</span>:var g=f.is(<span class="stringliteral">&quot;:data(draggable)&quot;</span>);g&amp;&amp;!d&amp;&amp;f.draggable(<span class="stringliteral">&quot;destroy&quot;</span>),!g&amp;&amp;d&amp;&amp;e._makeDraggable();<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;position&quot;</span>:e._position(d);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;resizable&quot;</span>:var h=f.is(<span class="stringliteral">&quot;:data(resizable)&quot;</span>);h&amp;&amp;!d&amp;&amp;f.resizable(<span class="stringliteral">&quot;destroy&quot;</span>),h&amp;&amp;typeof d==<span class="stringliteral">&quot;string&quot;</span>&amp;&amp;f.resizable(<span class="stringliteral">&quot;option&quot;</span>,<span class="stringliteral">&quot;handles&quot;</span>,d),!h&amp;&amp;d!==!1&amp;&amp;e._makeResizable(d);<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;title&quot;</span>:a(<span class="stringliteral">&quot;.ui-dialog-title&quot;</span>,e.uiDialogTitlebar).html(<span class="stringliteral">&quot;&quot;</span>+(d||<span class="stringliteral">&quot;&amp;#160;&quot;</span>))}a.Widget.prototype._setOption.apply(e,arguments)},_size:<span class="keyword">function</span>(){var b=this.options,c,d,e=this.uiDialog.is(<span class="stringliteral">&quot;:visible&quot;</span>);this.element.show().css({width:<span class="stringliteral">&quot;auto&quot;</span>,minHeight:0,height:0}),b.minWidth&gt;b.width&amp;&amp;(b.width=b.minWidth),c=this.uiDialog.css({height:<span class="stringliteral">&quot;auto&quot;</span>,width:b.width}).height(),d=Math.max(0,b.minHeight-c);<span class="keywordflow">if</span>(b.height===<span class="stringliteral">&quot;auto&quot;</span>)<span class="keywordflow">if</span>(a.support.minHeight)this.element.css({minHeight:d,height:<span class="stringliteral">&quot;auto&quot;</span>});<span class="keywordflow">else</span>{this.uiDialog.show();var f=this.element.css(<span class="stringliteral">&quot;height&quot;</span>,<span class="stringliteral">&quot;auto&quot;</span>).height();e||this.uiDialog.hide(),this.element.height(Math.max(f,d))}<span class="keywordflow">else</span> this.element.height(Math.max(b.height-c,0));this.uiDialog.is(<span class="stringliteral">&quot;:data(resizable)&quot;</span>)&amp;&amp;this.uiDialog.resizable(<span class="stringliteral">&quot;option&quot;</span>,<span class="stringliteral">&quot;minHeight&quot;</span>,this._minHeight())}}),a.extend(a.ui.dialog,{version:<span class="stringliteral">&quot;1.8.20&quot;</span>,uuid:0,maxZ:0,getTitleId:<span class="keyword">function</span>(a){var b=a.attr(<span class="stringliteral">&quot;id&quot;</span>);<span class="keywordflow">return</span> b||(this.uuid+=1,b=this.uuid),<span class="stringliteral">&quot;ui-dialog-title-&quot;</span>+b},overlay:<span class="keyword">function</span>(b){this.$el=a.ui.dialog.overlay.create(b)}}),a.extend(a.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:a.map(<span class="stringliteral">&quot;focus,mousedown,mouseup,keydown,keypress,click&quot;</span>.split(<span class="stringliteral">&quot;,&quot;</span>),<span class="keyword">function</span>(a){<span class="keywordflow">return</span> a+<span class="stringliteral">&quot;.dialog-overlay&quot;</span>}).join(<span class="stringliteral">&quot; &quot;</span>),create:<span class="keyword">function</span>(b){this.instances.length===0&amp;&amp;(setTimeout(<span class="keyword">function</span>(){a.ui.dialog.overlay.instances.length&amp;&amp;a(document).bind(a.ui.dialog.overlay.events,<span class="keyword">function</span>(b){<span class="keywordflow">if</span>(a(b.target).zIndex()&lt;a.ui.dialog.overlay.maxZ)<span class="keywordflow">return</span>!1})},1),a(document).bind(<span class="stringliteral">&quot;keydown.dialog-overlay&quot;</span>,<span class="keyword">function</span>(c){b.options.closeOnEscape&amp;&amp;!c.isDefaultPrevented()&amp;&amp;c.keyCode&amp;&amp;c.keyCode===a.ui.keyCode.ESCAPE&amp;&amp;(b.close(c),c.preventDefault())}),a(window).bind(<span class="stringliteral">&quot;resize.dialog-overlay&quot;</span>,a.ui.dialog.overlay.resize));var c=(this.oldInstances.pop()||a(<span class="stringliteral">&quot;&lt;div&gt;&lt;/div&gt;&quot;</span>).addClass(<span class="stringliteral">&quot;ui-widget-overlay&quot;</span>)).appendTo(document.body).css({width:this.width(),height:this.height()});<span class="keywordflow">return</span> a.fn.bgiframe&amp;&amp;c.bgiframe(),this.instances.push(c),c},destroy:<span class="keyword">function</span>(b){var c=a.inArray(b,this.instances);c!=-1&amp;&amp;this.oldInstances.push(this.instances.splice(c,1)[0]),this.instances.length===0&amp;&amp;a([document,window]).unbind(<span class="stringliteral">&quot;.dialog-overlay&quot;</span>),b.remove();var d=0;a.each(this.instances,<span class="keyword">function</span>(){d=Math.max(d,this.css(<span class="stringliteral">&quot;z-index&quot;</span>))}),this.maxZ=d},height:<span class="keyword">function</span>(){var b,c;<span class="keywordflow">return</span> a.browser.msie&amp;&amp;a.browser.version&lt;7?(b=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),c=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight),b&lt;c?a(window).height()+<span class="stringliteral">&quot;px&quot;</span>:b+<span class="stringliteral">&quot;px&quot;</span>):a(document).height()+<span class="stringliteral">&quot;px&quot;</span>},width:<span class="keyword">function</span>(){var b,c;<span class="keywordflow">return</span> a.browser.msie?(b=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),c=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth),b&lt;c?a(window).width()+<span class="stringliteral">&quot;px&quot;</span>:b+<span class="stringliteral">&quot;px&quot;</span>):a(document).width()+<span class="stringliteral">&quot;px&quot;</span>},resize:<span class="keyword">function</span>(){var b=a([]);a.each(a.ui.dialog.overlay.instances,<span class="keyword">function</span>(){b=b.add(<span class="keyword">this</span>)}),b.css({width:0,height:0}).css({width:a.ui.dialog.overlay.width(),height:a.ui.dialog.overlay.height()})}}),a.extend(a.ui.dialog.overlay.prototype,{destroy:<span class="keyword">function</span>(){a.ui.dialog.overlay.destroy(<span class="keyword">this</span>.$el)}})}(jQuery),<span class="keyword">function</span>(a,b){a.ui=a.ui||{};var c=/left|center|right/,d=/top|center|bottom/,e=<span class="stringliteral">&quot;center&quot;</span>,f={},g=a.fn.position,h=a.fn.offset;a.fn.position=<span class="keyword">function</span>(b){<span class="keywordflow">if</span>(!b||!b.of)<span class="keywordflow">return</span> g.apply(<span class="keyword">this</span>,arguments);b=a.extend({},b);var h=a(b.of),i=h[0],j=(b.collision||<span class="stringliteral">&quot;flip&quot;</span>).split(<span class="stringliteral">&quot; &quot;</span>),k=b.offset?b.offset.split(<span class="stringliteral">&quot; &quot;</span>):[0,0],l,m,n;<span class="keywordflow">return</span> i.nodeType===9?(l=h.width(),m=h.height(),n={top:0,left:0}):i.setTimeout?(l=h.width(),m=h.height(),n={top:h.scrollTop(),left:h.scrollLeft()}):i.preventDefault?(b.at=<span class="stringliteral">&quot;left top&quot;</span>,l=m=0,n={top:b.of.pageY,left:b.of.pageX}):(l=h.outerWidth(),m=h.outerHeight(),n=h.offset()),a.each([<span class="stringliteral">&quot;my&quot;</span>,<span class="stringliteral">&quot;at&quot;</span>],<span class="keyword">function</span>(){var a=(b[<span class="keyword">this</span>]||<span class="stringliteral">&quot;&quot;</span>).split(<span class="stringliteral">&quot; &quot;</span>);a.length===1&amp;&amp;(a=c.test(a[0])?a.concat([e]):d.test(a[0])?[e].concat(a):[e,e]),a[0]=c.test(a[0])?a[0]:e,a[1]=d.test(a[1])?a[1]:e,b[<span class="keyword">this</span>]=a}),j.length===1&amp;&amp;(j[1]=j[0]),k[0]=parseInt(k[0],10)||0,k.length===1&amp;&amp;(k[1]=k[0]),k[1]=parseInt(k[1],10)||0,b.at[0]===<span class="stringliteral">&quot;right&quot;</span>?n.left+=l:b.at[0]===e&amp;&amp;(n.left+=l/2),b.at[1]===<span class="stringliteral">&quot;bottom&quot;</span>?n.top+=m:b.at[1]===e&amp;&amp;(n.top+=m/2),n.left+=k[0],n.top+=k[1],this.each(<span class="keyword">function</span>(){var c=a(<span class="keyword">this</span>),d=c.outerWidth(),g=c.outerHeight(),h=parseInt(a.curCSS(<span class="keyword">this</span>,<span class="stringliteral">&quot;marginLeft&quot;</span>,!0))||0,i=parseInt(a.curCSS(<span class="keyword">this</span>,<span class="stringliteral">&quot;marginTop&quot;</span>,!0))||0,o=d+h+(parseInt(a.curCSS(<span class="keyword">this</span>,<span class="stringliteral">&quot;marginRight&quot;</span>,!0))||0),p=g+i+(parseInt(a.curCSS(<span class="keyword">this</span>,<span class="stringliteral">&quot;marginBottom&quot;</span>,!0))||0),q=a.extend({},n),r;b.my[0]===<span class="stringliteral">&quot;right&quot;</span>?q.left-=d:b.my[0]===e&amp;&amp;(q.left-=d/2),b.my[1]===<span class="stringliteral">&quot;bottom&quot;</span>?q.top-=g:b.my[1]===e&amp;&amp;(q.top-=g/2),f.fractions||(q.left=Math.round(q.left),q.top=Math.round(q.top)),r={left:q.left-h,top:q.top-i},a.each([<span class="stringliteral">&quot;left&quot;</span>,<span class="stringliteral">&quot;top&quot;</span>],<span class="keyword">function</span>(c,e){a.ui.position[j[c]]&amp;&amp;a.ui.position[j[c]][e](q,{targetWidth:l,targetHeight:m,elemWidth:d,elemHeight:g,collisionPosition:r,collisionWidth:o,collisionHeight:p,offset:k,my:b.my,at:b.at})}),a.fn.bgiframe&amp;&amp;c.bgiframe(),c.offset(a.extend(q,{<span class="keyword">using</span>:b.using}))})},a.ui.position={fit:{left:<span class="keyword">function</span>(b,c){var d=a(window),e=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft();b.left=e&gt;0?b.left-e:Math.max(b.left-c.collisionPosition.left,b.left)},top:<span class="keyword">function</span>(b,c){var d=a(window),e=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop();b.top=e&gt;0?b.top-e:Math.max(b.top-c.collisionPosition.top,b.top)}},flip:{left:<span class="keyword">function</span>(b,c){<span class="keywordflow">if</span>(c.at[0]===e)<span class="keywordflow">return</span>;var d=a(window),f=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft(),g=c.my[0]===<span class="stringliteral">&quot;left&quot;</span>?-c.elemWidth:c.my[0]===<span class="stringliteral">&quot;right&quot;</span>?c.elemWidth:0,h=c.at[0]===<span class="stringliteral">&quot;left&quot;</span>?c.targetWidth:-c.targetWidth,i=-2*c.offset[0];b.left+=c.collisionPosition.left&lt;0?g+h+i:f&gt;0?g+h+i:0},top:<span class="keyword">function</span>(b,c){<span class="keywordflow">if</span>(c.at[1]===e)<span class="keywordflow">return</span>;var d=a(window),f=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop(),g=c.my[1]===<span class="stringliteral">&quot;top&quot;</span>?-c.elemHeight:c.my[1]===<span class="stringliteral">&quot;bottom&quot;</span>?c.elemHeight:0,h=c.at[1]===<span class="stringliteral">&quot;top&quot;</span>?c.targetHeight:-c.targetHeight,i=-2*c.offset[1];b.top+=c.collisionPosition.top&lt;0?g+h+i:f&gt;0?g+h+i:0}}},a.offset.setOffset||(a.offset.setOffset=<span class="keyword">function</span>(b,c){/<span class="keyword">static</span>/.test(a.curCSS(b,<span class="stringliteral">&quot;position&quot;</span>))&amp;&amp;(b.style.position=<span class="stringliteral">&quot;relative&quot;</span>);var d=a(b),e=d.offset(),f=parseInt(a.curCSS(b,<span class="stringliteral">&quot;top&quot;</span>,!0),10)||0,g=parseInt(a.curCSS(b,<span class="stringliteral">&quot;left&quot;</span>,!0),10)||0,h={top:c.top-e.top+f,left:c.left-e.left+g};<span class="stringliteral">&quot;using&quot;</span>in c?c.using.call(b,h):d.css(h)},a.fn.offset=<span class="keyword">function</span>(b){var c=<span class="keyword">this</span>[0];<span class="keywordflow">return</span>!c||!c.ownerDocument?null:b?this.each(<span class="keyword">function</span>(){a.offset.setOffset(<span class="keyword">this</span>,b)}):h.call(<span class="keyword">this</span>)}),<span class="keyword">function</span>(){var b=document.getElementsByTagName(<span class="stringliteral">&quot;body&quot;</span>)[0],c=document.createElement(<span class="stringliteral">&quot;div&quot;</span>),d,e,g,h,i;d=document.createElement(b?<span class="stringliteral">&quot;div&quot;</span>:<span class="stringliteral">&quot;body&quot;</span>),g={visibility:<span class="stringliteral">&quot;hidden&quot;</span>,width:0,height:0,border:0,margin:0,background:<span class="stringliteral">&quot;none&quot;</span>},b&amp;&amp;a.extend(g,{position:<span class="stringliteral">&quot;absolute&quot;</span>,left:<span class="stringliteral">&quot;-1000px&quot;</span>,top:<span class="stringliteral">&quot;-1000px&quot;</span>});<span class="keywordflow">for</span>(var j in g)d.style[j]=g[j];d.appendChild(c),e=b||document.documentElement,e.insertBefore(d,e.firstChild),c.style.cssText=<span class="stringliteral">&quot;position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;&quot;</span>,h=a(c).offset(<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span> b}).offset(),d.innerHTML=<span class="stringliteral">&quot;&quot;</span>,e.removeChild(d),i=h.top+h.left+(b?2e3:0),f.fractions=i&gt;21&amp;&amp;i&lt;22}()}(jQuery),<span class="keyword">function</span>(a,b){a.widget(<span class="stringliteral">&quot;ui.progressbar&quot;</span>,{options:{value:0,max:100},min:0,_create:<span class="keyword">function</span>(){this.element.addClass(<span class="stringliteral">&quot;ui-progressbar ui-widget ui-widget-content ui-corner-all&quot;</span>).attr({role:<span class="stringliteral">&quot;progressbar&quot;</span>,<span class="stringliteral">&quot;aria-valuemin&quot;</span>:this.min,<span class="stringliteral">&quot;aria-valuemax&quot;</span>:this.options.max,<span class="stringliteral">&quot;aria-valuenow&quot;</span>:this._value()}),this.valueDiv=a(<span class="stringliteral">&quot;&lt;div class=&#39;ui-progressbar-value ui-widget-header ui-corner-left&#39;&gt;&lt;/div&gt;&quot;</span>).appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},destroy:<span class="keyword">function</span>(){this.element.removeClass(<span class="stringliteral">&quot;ui-progressbar ui-widget ui-widget-content ui-corner-all&quot;</span>).removeAttr(<span class="stringliteral">&quot;role&quot;</span>).removeAttr(<span class="stringliteral">&quot;aria-valuemin&quot;</span>).removeAttr(<span class="stringliteral">&quot;aria-valuemax&quot;</span>).removeAttr(<span class="stringliteral">&quot;aria-valuenow&quot;</span>),this.valueDiv.remove(),a.Widget.prototype.destroy.apply(<span class="keyword">this</span>,arguments)},value:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> a===b?this._value():(this._setOption(<span class="stringliteral">&quot;value&quot;</span>,a),this)},_setOption:function(b,c){b===<span class="stringliteral">&quot;value&quot;</span>&amp;&amp;(this.options.value=c,this._refreshValue(),this._value()===this.options.max&amp;&amp;this._trigger(<span class="stringliteral">&quot;complete&quot;</span>)),a.Widget.prototype._setOption.apply(<span class="keyword">this</span>,arguments)},_value:<span class="keyword">function</span>(){var a=this.options.value;<span class="keywordflow">return</span> typeof a!=<span class="stringliteral">&quot;number&quot;</span>&amp;&amp;(a=0),Math.min(<span class="keyword">this</span>.options.max,Math.max(<span class="keyword">this</span>.min,a))},_percentage:<span class="keyword">function</span>(){<span class="keywordflow">return</span> 100*this._value()/this.options.max},_refreshValue:<span class="keyword">function</span>(){var a=this.value(),b=this._percentage();this.oldValue!==a&amp;&amp;(this.oldValue=a,this._trigger(<span class="stringliteral">&quot;change&quot;</span>)),this.valueDiv.toggle(a&gt;<span class="keyword">this</span>.min).toggleClass(<span class="stringliteral">&quot;ui-corner-right&quot;</span>,a===this.options.max).width(b.toFixed(0)+<span class="stringliteral">&quot;%&quot;</span>),this.element.attr(<span class="stringliteral">&quot;aria-valuenow&quot;</span>,a)}}),a.extend(a.ui.progressbar,{version:<span class="stringliteral">&quot;1.8.20&quot;</span>})}(jQuery),<span class="keyword">function</span>(a,b){var c=5;a.widget(<span class="stringliteral">&quot;ui.slider&quot;</span>,a.ui.mouse,{widgetEventPrefix:<span class="stringliteral">&quot;slide&quot;</span>,options:{animate:!1,distance:0,max:100,min:0,orientation:<span class="stringliteral">&quot;horizontal&quot;</span>,range:!1,step:1,value:0,values:null},_create:<span class="keyword">function</span>(){var b=<span class="keyword">this</span>,d=this.options,e=this.element.find(<span class="stringliteral">&quot;.ui-slider-handle&quot;</span>).addClass(<span class="stringliteral">&quot;ui-state-default ui-corner-all&quot;</span>),f=<span class="stringliteral">&quot;&lt;a class=&#39;ui-slider-handle ui-state-default ui-corner-all&#39; href=&#39;#&#39;&gt;&lt;/a&gt;&quot;</span>,g=d.values&amp;&amp;d.values.length||1,h=[];this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass(<span class="stringliteral">&quot;ui-slider ui-slider-&quot;</span>+this.orientation+<span class="stringliteral">&quot; ui-widget&quot;</span>+<span class="stringliteral">&quot; ui-widget-content&quot;</span>+<span class="stringliteral">&quot; ui-corner-all&quot;</span>+(d.disabled?<span class="stringliteral">&quot; ui-slider-disabled ui-disabled&quot;</span>:<span class="stringliteral">&quot;&quot;</span>)),this.range=a([]),d.range&amp;&amp;(d.range===!0&amp;&amp;(d.values||(d.values=[this._valueMin(),this._valueMin()]),d.values.length&amp;&amp;d.values.length!==2&amp;&amp;(d.values=[d.values[0],d.values[0]])),this.range=a(<span class="stringliteral">&quot;&lt;div&gt;&lt;/div&gt;&quot;</span>).appendTo(this.element).addClass(<span class="stringliteral">&quot;ui-slider-range ui-widget-header&quot;</span>+(d.range===<span class="stringliteral">&quot;min&quot;</span>||d.range===<span class="stringliteral">&quot;max&quot;</span>?<span class="stringliteral">&quot; ui-slider-range-&quot;</span>+d.range:<span class="stringliteral">&quot;&quot;</span>)));<span class="keywordflow">for</span>(var i=e.length;i&lt;g;i+=1)h.push(f);this.handles=e.add(a(h.join(<span class="stringliteral">&quot;&quot;</span>)).appendTo(b.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter(<span class="stringliteral">&quot;a&quot;</span>).click(<span class="keyword">function</span>(a){a.preventDefault()}).hover(<span class="keyword">function</span>(){d.disabled||a(<span class="keyword">this</span>).addClass(<span class="stringliteral">&quot;ui-state-hover&quot;</span>)},<span class="keyword">function</span>(){a(<span class="keyword">this</span>).removeClass(<span class="stringliteral">&quot;ui-state-hover&quot;</span>)}).focus(<span class="keyword">function</span>(){d.disabled?a(<span class="keyword">this</span>).blur():(a(<span class="stringliteral">&quot;.ui-slider .ui-state-focus&quot;</span>).removeClass(<span class="stringliteral">&quot;ui-state-focus&quot;</span>),a(<span class="keyword">this</span>).addClass(<span class="stringliteral">&quot;ui-state-focus&quot;</span>))}).blur(<span class="keyword">function</span>(){a(<span class="keyword">this</span>).removeClass(<span class="stringliteral">&quot;ui-state-focus&quot;</span>)}),this.handles.each(<span class="keyword">function</span>(b){a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;index.ui-slider-handle&quot;</span>,b)}),this.handles.keydown(<span class="keyword">function</span>(d){var e=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;index.ui-slider-handle&quot;</span>),f,g,h,i;<span class="keywordflow">if</span>(b.options.disabled)<span class="keywordflow">return</span>;<span class="keywordflow">switch</span>(d.keyCode){<span class="keywordflow">case</span> a.ui.keyCode.HOME:<span class="keywordflow">case</span> a.ui.keyCode.END:<span class="keywordflow">case</span> a.ui.keyCode.PAGE_UP:<span class="keywordflow">case</span> a.ui.keyCode.PAGE_DOWN:<span class="keywordflow">case</span> a.ui.keyCode.UP:<span class="keywordflow">case</span> a.ui.keyCode.RIGHT:<span class="keywordflow">case</span> a.ui.keyCode.DOWN:<span class="keywordflow">case</span> a.ui.keyCode.LEFT:d.preventDefault();<span class="keywordflow">if</span>(!b._keySliding){b._keySliding=!0,a(<span class="keyword">this</span>).addClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>),f=b._start(d,e);<span class="keywordflow">if</span>(f===!1)<span class="keywordflow">return</span>}}i=b.options.step,b.options.values&amp;&amp;b.options.values.length?g=h=b.values(e):g=h=b.value();<span class="keywordflow">switch</span>(d.keyCode){<span class="keywordflow">case</span> a.ui.keyCode.HOME:h=b._valueMin();<span class="keywordflow">break</span>;<span class="keywordflow">case</span> a.ui.keyCode.END:h=b._valueMax();<span class="keywordflow">break</span>;<span class="keywordflow">case</span> a.ui.keyCode.PAGE_UP:h=b._trimAlignValue(g+(b._valueMax()-b._valueMin())/c);<span class="keywordflow">break</span>;<span class="keywordflow">case</span> a.ui.keyCode.PAGE_DOWN:h=b._trimAlignValue(g-(b._valueMax()-b._valueMin())/c);<span class="keywordflow">break</span>;<span class="keywordflow">case</span> a.ui.keyCode.UP:<span class="keywordflow">case</span> a.ui.keyCode.RIGHT:<span class="keywordflow">if</span>(g===b._valueMax())<span class="keywordflow">return</span>;h=b._trimAlignValue(g+i);<span class="keywordflow">break</span>;<span class="keywordflow">case</span> a.ui.keyCode.DOWN:<span class="keywordflow">case</span> a.ui.keyCode.LEFT:<span class="keywordflow">if</span>(g===b._valueMin())<span class="keywordflow">return</span>;h=b._trimAlignValue(g-i)}b._slide(d,e,h)}).keyup(<span class="keyword">function</span>(c){var d=a(<span class="keyword">this</span>).data(<span class="stringliteral">&quot;index.ui-slider-handle&quot;</span>);b._keySliding&amp;&amp;(b._keySliding=!1,b._stop(c,d),b._change(c,d),a(<span class="keyword">this</span>).removeClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>))}),this._refreshValue(),this._animateOff=!1},destroy:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.handles.remove(),this.range.remove(),this.element.removeClass(<span class="stringliteral">&quot;ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all&quot;</span>).removeData(<span class="stringliteral">&quot;slider&quot;</span>).unbind(<span class="stringliteral">&quot;.slider&quot;</span>),this._mouseDestroy(),<span class="keyword">this</span>},_mouseCapture:<span class="keyword">function</span>(b){var c=this.options,d,e,f,g,h,i,j,k,l;<span class="keywordflow">return</span> c.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),d={x:b.pageX,y:b.pageY},e=this._normValueFromMouse(d),f=this._valueMax()-this._valueMin()+1,h=<span class="keyword">this</span>,this.handles.each(<span class="keyword">function</span>(b){var c=Math.abs(e-h.values(b));f&gt;c&amp;&amp;(f=c,g=a(<span class="keyword">this</span>),i=b)}),c.range===!0&amp;&amp;this.values(1)===c.min&amp;&amp;(i+=1,g=a(this.handles[i])),j=this._start(b,i),j===!1?!1:(this._mouseSliding=!0,h._handleIndex=i,g.addClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>).focus(),k=g.offset(),l=!a(b.target).parents().andSelf().is(<span class="stringliteral">&quot;.ui-slider-handle&quot;</span>),this._clickOffset=l?{left:0,top:0}:{left:b.pageX-k.left-g.width()/2,top:b.pageY-k.top-g.height()/2-(parseInt(g.css(<span class="stringliteral">&quot;borderTopWidth&quot;</span>),10)||0)-(parseInt(g.css(<span class="stringliteral">&quot;borderBottomWidth&quot;</span>),10)||0)+(parseInt(g.css(<span class="stringliteral">&quot;marginTop&quot;</span>),10)||0)},this.handles.hasClass(<span class="stringliteral">&quot;ui-state-hover&quot;</span>)||this._slide(b,i,e),this._animateOff=!0,!0))},_mouseStart:<span class="keyword">function</span>(a){<span class="keywordflow">return</span>!0},_mouseDrag:<span class="keyword">function</span>(a){var b={x:a.pageX,y:a.pageY},c=this._normValueFromMouse(b);<span class="keywordflow">return</span> this._slide(a,this._handleIndex,c),!1},_mouseStop:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> this.handles.removeClass(<span class="stringliteral">&quot;ui-state-active&quot;</span>),this._mouseSliding=!1,this._stop(a,this._handleIndex),this._change(a,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:<span class="keyword">function</span>(){this.orientation=this.options.orientation===<span class="stringliteral">&quot;vertical&quot;</span>?<span class="stringliteral">&quot;vertical&quot;</span>:<span class="stringliteral">&quot;horizontal&quot;</span>},_normValueFromMouse:<span class="keyword">function</span>(a){var b,c,d,e,f;<span class="keywordflow">return</span> this.orientation===<span class="stringliteral">&quot;horizontal&quot;</span>?(b=this.elementSize.width,c=a.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(b=this.elementSize.height,c=a.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),d=c/b,d&gt;1&amp;&amp;(d=1),d&lt;0&amp;&amp;(d=0),this.orientation===<span class="stringliteral">&quot;vertical&quot;</span>&amp;&amp;(d=1-d),e=this._valueMax()-this._valueMin(),f=this._valueMin()+d*e,this._trimAlignValue(f)},_start:<span class="keyword">function</span>(a,b){var c={handle:this.handles[b],value:this.value()};<span class="keywordflow">return</span> this.options.values&amp;&amp;this.options.values.length&amp;&amp;(c.value=this.values(b),c.values=this.values()),this._trigger(<span class="stringliteral">&quot;start&quot;</span>,a,c)},_slide:<span class="keyword">function</span>(a,b,c){var d,e,f;this.options.values&amp;&amp;this.options.values.length?(d=this.values(b?0:1),this.options.values.length===2&amp;&amp;this.options.range===!0&amp;&amp;(b===0&amp;&amp;c&gt;d||b===1&amp;&amp;c&lt;d)&amp;&amp;(c=d),c!==this.values(b)&amp;&amp;(e=this.values(),e[b]=c,f=this._trigger(<span class="stringliteral">&quot;slide&quot;</span>,a,{handle:this.handles[b],value:c,values:e}),d=this.values(b?0:1),f!==!1&amp;&amp;this.values(b,c,!0))):c!==this.value()&amp;&amp;(f=this._trigger(<span class="stringliteral">&quot;slide&quot;</span>,a,{handle:this.handles[b],value:c}),f!==!1&amp;&amp;this.value(c))},_stop:<span class="keyword">function</span>(a,b){var c={handle:this.handles[b],value:this.value()};this.options.values&amp;&amp;this.options.values.length&amp;&amp;(c.value=this.values(b),c.values=this.values()),this._trigger(<span class="stringliteral">&quot;stop&quot;</span>,a,c)},_change:<span class="keyword">function</span>(a,b){<span class="keywordflow">if</span>(!this._keySliding&amp;&amp;!this._mouseSliding){var c={handle:this.handles[b],value:this.value()};this.options.values&amp;&amp;this.options.values.length&amp;&amp;(c.value=this.values(b),c.values=this.values()),this._trigger(<span class="stringliteral">&quot;change&quot;</span>,a,c)}},value:<span class="keyword">function</span>(a){<span class="keywordflow">if</span>(arguments.length){this.options.value=this._trimAlignValue(a),this._refreshValue(),this._change(null,0);<span class="keywordflow">return</span>}<span class="keywordflow">return</span> this._value()},values:<span class="keyword">function</span>(b,c){var d,e,f;<span class="keywordflow">if</span>(arguments.length&gt;1){this.options.values[b]=this._trimAlignValue(c),this._refreshValue(),this._change(null,b);<span class="keywordflow">return</span>}<span class="keywordflow">if</span>(!arguments.length)<span class="keywordflow">return</span> this._values();<span class="keywordflow">if</span>(!a.isArray(arguments[0]))<span class="keywordflow">return</span> this.options.values&amp;&amp;<span class="keyword">this</span>.options.values.length?<span class="keyword">this</span>._values(b):this.value();d=this.options.values,e=arguments[0];<span class="keywordflow">for</span>(f=0;f&lt;d.length;f+=1)d[f]=this._trimAlignValue(e[f]),this._change(null,f);this._refreshValue()},_setOption:<span class="keyword">function</span>(b,c){var d,e=0;a.isArray(this.options.values)&amp;&amp;(e=this.options.values.length),a.Widget.prototype._setOption.apply(<span class="keyword">this</span>,arguments);<span class="keywordflow">switch</span>(b){<span class="keywordflow">case</span><span class="stringliteral">&quot;disabled&quot;</span>:c?(this.handles.filter(<span class="stringliteral">&quot;.ui-state-focus&quot;</span>).blur(),this.handles.removeClass(<span class="stringliteral">&quot;ui-state-hover&quot;</span>),this.handles.propAttr(<span class="stringliteral">&quot;disabled&quot;</span>,!0),this.element.addClass(<span class="stringliteral">&quot;ui-disabled&quot;</span>)):(this.handles.propAttr(<span class="stringliteral">&quot;disabled&quot;</span>,!1),this.element.removeClass(<span class="stringliteral">&quot;ui-disabled&quot;</span>));<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;orientation&quot;</span>:this._detectOrientation(),this.element.removeClass(<span class="stringliteral">&quot;ui-slider-horizontal ui-slider-vertical&quot;</span>).addClass(<span class="stringliteral">&quot;ui-slider-&quot;</span>+this.orientation),this._refreshValue();<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;value&quot;</span>:this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;<span class="keywordflow">break</span>;<span class="keywordflow">case</span><span class="stringliteral">&quot;values&quot;</span>:this._animateOff=!0,this._refreshValue();<span class="keywordflow">for</span>(d=0;d&lt;e;d+=1)this._change(null,d);this._animateOff=!1}},_value:<span class="keyword">function</span>(){var a=this.options.value;<span class="keywordflow">return</span> a=this._trimAlignValue(a),a},_values:<span class="keyword">function</span>(a){var b,c,d;<span class="keywordflow">if</span>(arguments.length)<span class="keywordflow">return</span> b=this.options.values[a],b=this._trimAlignValue(b),b;c=this.options.values.slice();<span class="keywordflow">for</span>(d=0;d&lt;c.length;d+=1)c[d]=this._trimAlignValue(c[d]);<span class="keywordflow">return</span> c},_trimAlignValue:<span class="keyword">function</span>(a){<span class="keywordflow">if</span>(a&lt;=this._valueMin())<span class="keywordflow">return</span> this._valueMin();<span class="keywordflow">if</span>(a&gt;=this._valueMax())<span class="keywordflow">return</span> this._valueMax();var b=this.options.step&gt;0?this.options.step:1,c=(a-this._valueMin())%b,d=a-c;<span class="keywordflow">return</span> Math.abs(c)*2&gt;=b&amp;&amp;(d+=c&gt;0?b:-b),parseFloat(d.toFixed(5))},_valueMin:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.options.min},_valueMax:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.options.max},_refreshValue:<span class="keyword">function</span>(){var b=this.options.range,c=this.options,d=<span class="keyword">this</span>,e=this._animateOff?!1:c.animate,f,g={},h,i,j,k;this.options.values&amp;&amp;this.options.values.length?this.handles.each(<span class="keyword">function</span>(b,i){f=(d.values(b)-d._valueMin())/(d._valueMax()-d._valueMin())*100,g[d.orientation===<span class="stringliteral">&quot;horizontal&quot;</span>?<span class="stringliteral">&quot;left&quot;</span>:<span class="stringliteral">&quot;bottom&quot;</span>]=f+<span class="stringliteral">&quot;%&quot;</span>,a(<span class="keyword">this</span>).stop(1,1)[e?<span class="stringliteral">&quot;animate&quot;</span>:<span class="stringliteral">&quot;css&quot;</span>](g,c.animate),d.options.range===!0&amp;&amp;(d.orientation===<span class="stringliteral">&quot;horizontal&quot;</span>?(b===0&amp;&amp;d.range.stop(1,1)[e?<span class="stringliteral">&quot;animate&quot;</span>:<span class="stringliteral">&quot;css&quot;</span>]({left:f+<span class="stringliteral">&quot;%&quot;</span>},c.animate),b===1&amp;&amp;d.range[e?<span class="stringliteral">&quot;animate&quot;</span>:<span class="stringliteral">&quot;css&quot;</span>]({width:f-h+<span class="stringliteral">&quot;%&quot;</span>},{queue:!1,duration:c.animate})):(b===0&amp;&amp;d.range.stop(1,1)[e?<span class="stringliteral">&quot;animate&quot;</span>:<span class="stringliteral">&quot;css&quot;</span>]({bottom:f+<span class="stringliteral">&quot;%&quot;</span>},c.animate),b===1&amp;&amp;d.range[e?<span class="stringliteral">&quot;animate&quot;</span>:<span class="stringliteral">&quot;css&quot;</span>]({height:f-h+<span class="stringliteral">&quot;%&quot;</span>},{queue:!1,duration:c.animate}))),h=f}):(i=this.value(),j=this._valueMin(),k=this._valueMax(),f=k!==j?(i-j)/(k-j)*100:0,g[d.orientation===<span class="stringliteral">&quot;horizontal&quot;</span>?<span class="stringliteral">&quot;left&quot;</span>:<span class="stringliteral">&quot;bottom&quot;</span>]=f+<span class="stringliteral">&quot;%&quot;</span>,this.handle.stop(1,1)[e?<span class="stringliteral">&quot;animate&quot;</span>:<span class="stringliteral">&quot;css&quot;</span>](g,c.animate),b===<span class="stringliteral">&quot;min&quot;</span>&amp;&amp;this.orientation===<span class="stringliteral">&quot;horizontal&quot;</span>&amp;&amp;this.range.stop(1,1)[e?<span class="stringliteral">&quot;animate&quot;</span>:<span class="stringliteral">&quot;css&quot;</span>]({width:f+<span class="stringliteral">&quot;%&quot;</span>},c.animate),b===<span class="stringliteral">&quot;max&quot;</span>&amp;&amp;this.orientation===<span class="stringliteral">&quot;horizontal&quot;</span>&amp;&amp;this.range[e?<span class="stringliteral">&quot;animate&quot;</span>:<span class="stringliteral">&quot;css&quot;</span>]({width:100-f+<span class="stringliteral">&quot;%&quot;</span>},{queue:!1,duration:c.animate}),b===<span class="stringliteral">&quot;min&quot;</span>&amp;&amp;this.orientation===<span class="stringliteral">&quot;vertical&quot;</span>&amp;&amp;this.range.stop(1,1)[e?<span class="stringliteral">&quot;animate&quot;</span>:<span class="stringliteral">&quot;css&quot;</span>]({height:f+<span class="stringliteral">&quot;%&quot;</span>},c.animate),b===<span class="stringliteral">&quot;max&quot;</span>&amp;&amp;this.orientation===<span class="stringliteral">&quot;vertical&quot;</span>&amp;&amp;this.range[e?<span class="stringliteral">&quot;animate&quot;</span>:<span class="stringliteral">&quot;css&quot;</span>]({height:100-f+<span class="stringliteral">&quot;%&quot;</span>},{queue:!1,duration:c.animate}))}}),a.extend(a.ui.slider,{version:<span class="stringliteral">&quot;1.8.20&quot;</span>})}(jQuery),<span class="keyword">function</span>(a,b){<span class="keyword">function</span> e(){<span class="keywordflow">return</span>++c}<span class="keyword">function</span> f(){<span class="keywordflow">return</span>++d}var c=0,d=0;a.widget(<span class="stringliteral">&quot;ui.tabs&quot;</span>,{options:{add:null,ajaxOptions:null,cache:!1,cookie:null,collapsible:!1,disable:null,disabled:[],enable:null,<span class="keyword">event</span>:<span class="stringliteral">&quot;click&quot;</span>,fx:null,idPrefix:<span class="stringliteral">&quot;ui-tabs-&quot;</span>,load:null,panelTemplate:<span class="stringliteral">&quot;&lt;div&gt;&lt;/div&gt;&quot;</span>,<span class="keyword">remove</span>:null,select:null,show:null,spinner:<span class="stringliteral">&quot;&lt;em&gt;Loading&amp;#8230;&lt;/em&gt;&quot;</span>,tabTemplate:<span class="stringliteral">&quot;&lt;li&gt;&lt;a href=&#39;#{href}&#39;&gt;&lt;span&gt;#{label}&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&quot;</span>},_create:<span class="keyword">function</span>(){this._tabify(!0)},_setOption:<span class="keyword">function</span>(a,b){<span class="keywordflow">if</span>(a==<span class="stringliteral">&quot;selected&quot;</span>){<span class="keywordflow">if</span>(this.options.collapsible&amp;&amp;b==<span class="keyword">this</span>.options.selected)<span class="keywordflow">return</span>;this.select(b)}<span class="keywordflow">else</span> this.options[a]=b,this._tabify()},_tabId:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> a.title&amp;&amp;a.title.replace(/\s/g,<span class="stringliteral">&quot;_&quot;</span>).replace(/[^\w\u00c0-\uFFFF-]/g,<span class="stringliteral">&quot;&quot;</span>)||this.options.idPrefix+e()},_sanitizeSelector:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> a.replace(/:/g,<span class="stringliteral">&quot;\\:&quot;</span>)},_cookie:<span class="keyword">function</span>(){var b=this.cookie||(this.cookie=this.options.cookie.name||<span class="stringliteral">&quot;ui-tabs-&quot;</span>+f());<span class="keywordflow">return</span> a.cookie.apply(null,[b].concat(a.makeArray(arguments)))},_ui:<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span>{tab:a,panel:b,index:this.anchors.index(a)}},_cleanup:<span class="keyword">function</span>(){this.lis.filter(<span class="stringliteral">&quot;.ui-state-processing&quot;</span>).removeClass(<span class="stringliteral">&quot;ui-state-processing&quot;</span>).find(<span class="stringliteral">&quot;span:data(label.tabs)&quot;</span>).each(<span class="keyword">function</span>(){var b=a(<span class="keyword">this</span>);b.html(b.data(<span class="stringliteral">&quot;label.tabs&quot;</span>)).removeData(<span class="stringliteral">&quot;label.tabs&quot;</span>)})},_tabify:<span class="keyword">function</span>(c){<span class="keyword">function</span> m(b,c){b.css(<span class="stringliteral">&quot;display&quot;</span>,<span class="stringliteral">&quot;&quot;</span>),!a.support.opacity&amp;&amp;c.opacity&amp;&amp;b[0].style.removeAttribute(<span class="stringliteral">&quot;filter&quot;</span>)}var d=<span class="keyword">this</span>,e=this.options,f=/^#.+/;this.list=this.element.find(<span class="stringliteral">&quot;ol,ul&quot;</span>).eq(0),this.lis=a(<span class="stringliteral">&quot; &gt; li:has(a[href])&quot;</span>,this.list),this.anchors=this.lis.map(<span class="keyword">function</span>(){<span class="keywordflow">return</span> a(<span class="stringliteral">&quot;a&quot;</span>,<span class="keyword">this</span>)[0]}),this.panels=a([]),this.anchors.each(<span class="keyword">function</span>(b,c){var g=a(c).attr(<span class="stringliteral">&quot;href&quot;</span>),h=g.split(<span class="stringliteral">&quot;#&quot;</span>)[0],i;h&amp;&amp;(h===location.toString().split(<span class="stringliteral">&quot;#&quot;</span>)[0]||(i=a(<span class="stringliteral">&quot;base&quot;</span>)[0])&amp;&amp;h===i.href)&amp;&amp;(g=c.hash,c.href=g);<span class="keywordflow">if</span>(f.test(g))d.panels=d.panels.add(d.element.find(d._sanitizeSelector(g)));<span class="keywordflow">else</span> <span class="keywordflow">if</span>(g&amp;&amp;g!==<span class="stringliteral">&quot;#&quot;</span>){a.data(c,<span class="stringliteral">&quot;href.tabs&quot;</span>,g),a.data(c,<span class="stringliteral">&quot;load.tabs&quot;</span>,g.replace(/#.*$/,<span class="stringliteral">&quot;&quot;</span>));var j=d._tabId(c);c.href=<span class="stringliteral">&quot;#&quot;</span>+j;var k=d.element.find(<span class="stringliteral">&quot;#&quot;</span>+j);k.length||(k=a(e.panelTemplate).attr(<span class="stringliteral">&quot;id&quot;</span>,j).addClass(<span class="stringliteral">&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;</span>).insertAfter(d.panels[b-1]||d.list),k.data(<span class="stringliteral">&quot;destroy.tabs&quot;</span>,!0)),d.panels=d.panels.add(k)}<span class="keywordflow">else</span> e.disabled.push(b)}),c?(this.element.addClass(<span class="stringliteral">&quot;ui-tabs ui-widget ui-widget-content ui-corner-all&quot;</span>),this.list.addClass(<span class="stringliteral">&quot;ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all&quot;</span>),this.lis.addClass(<span class="stringliteral">&quot;ui-state-default ui-corner-top&quot;</span>),this.panels.addClass(<span class="stringliteral">&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;</span>),e.selected===b?(location.hash&amp;&amp;this.anchors.each(<span class="keyword">function</span>(a,b){<span class="keywordflow">if</span>(b.hash==location.hash)<span class="keywordflow">return</span> e.selected=a,!1}),typeof e.selected!=<span class="stringliteral">&quot;number&quot;</span>&amp;&amp;e.cookie&amp;&amp;(e.selected=parseInt(d._cookie(),10)),typeof e.selected!=<span class="stringliteral">&quot;number&quot;</span>&amp;&amp;this.lis.filter(<span class="stringliteral">&quot;.ui-tabs-selected&quot;</span>).length&amp;&amp;(e.selected=this.lis.index(this.lis.filter(<span class="stringliteral">&quot;.ui-tabs-selected&quot;</span>))),e.selected=e.selected||(this.lis.length?0:-1)):e.selected===null&amp;&amp;(e.selected=-1),e.selected=e.selected&gt;=0&amp;&amp;this.anchors[e.selected]||e.selected&lt;0?e.selected:0,e.disabled=a.unique(e.disabled.concat(a.map(this.lis.filter(<span class="stringliteral">&quot;.ui-state-disabled&quot;</span>),function(a,b){<span class="keywordflow">return</span> d.lis.index(a)}))).sort(),a.inArray(e.selected,e.disabled)!=-1&amp;&amp;e.disabled.splice(a.inArray(e.selected,e.disabled),1),this.panels.addClass(<span class="stringliteral">&quot;ui-tabs-hide&quot;</span>),this.lis.removeClass(<span class="stringliteral">&quot;ui-tabs-selected ui-state-active&quot;</span>),e.selected&gt;=0&amp;&amp;this.anchors.length&amp;&amp;(d.element.find(d._sanitizeSelector(d.anchors[e.selected].hash)).removeClass(<span class="stringliteral">&quot;ui-tabs-hide&quot;</span>),this.lis.eq(e.selected).addClass(<span class="stringliteral">&quot;ui-tabs-selected ui-state-active&quot;</span>),d.element.queue(<span class="stringliteral">&quot;tabs&quot;</span>,<span class="keyword">function</span>(){d._trigger(<span class="stringliteral">&quot;show&quot;</span>,null,d._ui(d.anchors[e.selected],d.element.find(d._sanitizeSelector(d.anchors[e.selected].hash))[0]))}),this.load(e.selected)),a(window).bind(<span class="stringliteral">&quot;unload&quot;</span>,<span class="keyword">function</span>(){d.lis.add(d.anchors).unbind(<span class="stringliteral">&quot;.tabs&quot;</span>),d.lis=d.anchors=d.panels=null})):e.selected=this.lis.index(this.lis.filter(<span class="stringliteral">&quot;.ui-tabs-selected&quot;</span>)),this.element[e.collapsible?<span class="stringliteral">&quot;addClass&quot;</span>:<span class="stringliteral">&quot;removeClass&quot;</span>](<span class="stringliteral">&quot;ui-tabs-collapsible&quot;</span>),e.cookie&amp;&amp;this._cookie(e.selected,e.cookie);<span class="keywordflow">for</span>(var g=0,h;h=this.lis[g];g++)a(h)[a.inArray(g,e.disabled)!=-1&amp;&amp;!a(h).hasClass(<span class="stringliteral">&quot;ui-tabs-selected&quot;</span>)?<span class="stringliteral">&quot;addClass&quot;</span>:<span class="stringliteral">&quot;removeClass&quot;</span>](<span class="stringliteral">&quot;ui-state-disabled&quot;</span>);e.cache===!1&amp;&amp;this.anchors.removeData(<span class="stringliteral">&quot;cache.tabs&quot;</span>),this.lis.add(this.anchors).unbind(<span class="stringliteral">&quot;.tabs&quot;</span>);<span class="keywordflow">if</span>(e.event!==<span class="stringliteral">&quot;mouseover&quot;</span>){var i=<span class="keyword">function</span>(a,b){b.is(<span class="stringliteral">&quot;:not(.ui-state-disabled)&quot;</span>)&amp;&amp;b.addClass(<span class="stringliteral">&quot;ui-state-&quot;</span>+a)},j=<span class="keyword">function</span>(a,b){b.removeClass(<span class="stringliteral">&quot;ui-state-&quot;</span>+a)};this.lis.bind(<span class="stringliteral">&quot;mouseover.tabs&quot;</span>,<span class="keyword">function</span>(){i(<span class="stringliteral">&quot;hover&quot;</span>,a(<span class="keyword">this</span>))}),this.lis.bind(<span class="stringliteral">&quot;mouseout.tabs&quot;</span>,<span class="keyword">function</span>(){j(<span class="stringliteral">&quot;hover&quot;</span>,a(<span class="keyword">this</span>))}),this.anchors.bind(<span class="stringliteral">&quot;focus.tabs&quot;</span>,<span class="keyword">function</span>(){i(<span class="stringliteral">&quot;focus&quot;</span>,a(<span class="keyword">this</span>).closest(<span class="stringliteral">&quot;li&quot;</span>))}),this.anchors.bind(<span class="stringliteral">&quot;blur.tabs&quot;</span>,<span class="keyword">function</span>(){j(<span class="stringliteral">&quot;focus&quot;</span>,a(<span class="keyword">this</span>).closest(<span class="stringliteral">&quot;li&quot;</span>))})}var k,l;e.fx&amp;&amp;(a.isArray(e.fx)?(k=e.fx[0],l=e.fx[1]):k=l=e.fx);var n=l?<span class="keyword">function</span>(b,c){a(b).closest(<span class="stringliteral">&quot;li&quot;</span>).addClass(<span class="stringliteral">&quot;ui-tabs-selected ui-state-active&quot;</span>),c.hide().removeClass(<span class="stringliteral">&quot;ui-tabs-hide&quot;</span>).animate(l,l.duration||<span class="stringliteral">&quot;normal&quot;</span>,<span class="keyword">function</span>(){m(c,l),d._trigger(<span class="stringliteral">&quot;show&quot;</span>,null,d._ui(b,c[0]))})}:<span class="keyword">function</span>(b,c){a(b).closest(<span class="stringliteral">&quot;li&quot;</span>).addClass(<span class="stringliteral">&quot;ui-tabs-selected ui-state-active&quot;</span>),c.removeClass(<span class="stringliteral">&quot;ui-tabs-hide&quot;</span>),d._trigger(<span class="stringliteral">&quot;show&quot;</span>,null,d._ui(b,c[0]))},o=k?<span class="keyword">function</span>(a,b){b.animate(k,k.duration||<span class="stringliteral">&quot;normal&quot;</span>,<span class="keyword">function</span>(){d.lis.removeClass(<span class="stringliteral">&quot;ui-tabs-selected ui-state-active&quot;</span>),b.addClass(<span class="stringliteral">&quot;ui-tabs-hide&quot;</span>),m(b,k),d.element.dequeue(<span class="stringliteral">&quot;tabs&quot;</span>)})}:<span class="keyword">function</span>(a,b,c){d.lis.removeClass(<span class="stringliteral">&quot;ui-tabs-selected ui-state-active&quot;</span>),b.addClass(<span class="stringliteral">&quot;ui-tabs-hide&quot;</span>),d.element.dequeue(<span class="stringliteral">&quot;tabs&quot;</span>)};this.anchors.bind(e.event+<span class="stringliteral">&quot;.tabs&quot;</span>,<span class="keyword">function</span>(){var b=<span class="keyword">this</span>,c=a(b).closest(<span class="stringliteral">&quot;li&quot;</span>),f=d.panels.filter(<span class="stringliteral">&quot;:not(.ui-tabs-hide)&quot;</span>),g=d.element.find(d._sanitizeSelector(b.hash));<span class="keywordflow">if</span>(c.hasClass(<span class="stringliteral">&quot;ui-tabs-selected&quot;</span>)&amp;&amp;!e.collapsible||c.hasClass(<span class="stringliteral">&quot;ui-state-disabled&quot;</span>)||c.hasClass(<span class="stringliteral">&quot;ui-state-processing&quot;</span>)||d.panels.filter(<span class="stringliteral">&quot;:animated&quot;</span>).length||d._trigger(<span class="stringliteral">&quot;select&quot;</span>,null,d._ui(<span class="keyword">this</span>,g[0]))===!1)<span class="keywordflow">return</span> this.blur(),!1;e.selected=d.anchors.index(<span class="keyword">this</span>),d.abort();<span class="keywordflow">if</span>(e.collapsible){<span class="keywordflow">if</span>(c.hasClass(<span class="stringliteral">&quot;ui-tabs-selected&quot;</span>))<span class="keywordflow">return</span> e.selected=-1,e.cookie&amp;&amp;d._cookie(e.selected,e.cookie),d.element.queue(<span class="stringliteral">&quot;tabs&quot;</span>,<span class="keyword">function</span>(){o(b,f)}).dequeue(<span class="stringliteral">&quot;tabs&quot;</span>),this.blur(),!1;<span class="keywordflow">if</span>(!f.length)<span class="keywordflow">return</span> e.cookie&amp;&amp;d._cookie(e.selected,e.cookie),d.element.queue(<span class="stringliteral">&quot;tabs&quot;</span>,<span class="keyword">function</span>(){n(b,g)}),d.load(d.anchors.index(<span class="keyword">this</span>)),this.blur(),!1}e.cookie&amp;&amp;d._cookie(e.selected,e.cookie);<span class="keywordflow">if</span>(g.length)f.length&amp;&amp;d.element.queue(<span class="stringliteral">&quot;tabs&quot;</span>,<span class="keyword">function</span>(){o(b,f)}),d.element.queue(<span class="stringliteral">&quot;tabs&quot;</span>,<span class="keyword">function</span>(){n(b,g)}),d.load(d.anchors.index(<span class="keyword">this</span>));<span class="keywordflow">else</span> <span class="keywordflow">throw</span><span class="stringliteral">&quot;jQuery UI Tabs: Mismatching fragment identifier.&quot;</span>;a.browser.msie&amp;&amp;this.blur()}),this.anchors.bind(<span class="stringliteral">&quot;click.tabs&quot;</span>,<span class="keyword">function</span>(){<span class="keywordflow">return</span>!1})},_getIndex:<span class="keyword">function</span>(a){<span class="keywordflow">return</span> typeof a==<span class="stringliteral">&quot;string&quot;</span>&amp;&amp;(a=this.anchors.index(this.anchors.filter(<span class="stringliteral">&quot;[href$=&#39;&quot;</span>+a+<span class="stringliteral">&quot;&#39;]&quot;</span>))),a},destroy:<span class="keyword">function</span>(){var b=this.options;<span class="keywordflow">return</span> this.abort(),this.element.unbind(<span class="stringliteral">&quot;.tabs&quot;</span>).removeClass(<span class="stringliteral">&quot;ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible&quot;</span>).removeData(<span class="stringliteral">&quot;tabs&quot;</span>),this.list.removeClass(<span class="stringliteral">&quot;ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all&quot;</span>),this.anchors.each(<span class="keyword">function</span>(){var b=a.data(<span class="keyword">this</span>,<span class="stringliteral">&quot;href.tabs&quot;</span>);b&amp;&amp;(this.href=b);var c=a(<span class="keyword">this</span>).unbind(<span class="stringliteral">&quot;.tabs&quot;</span>);a.each([<span class="stringliteral">&quot;href&quot;</span>,<span class="stringliteral">&quot;load&quot;</span>,<span class="stringliteral">&quot;cache&quot;</span>],<span class="keyword">function</span>(a,b){c.removeData(b+<span class="stringliteral">&quot;.tabs&quot;</span>)})}),this.lis.unbind(<span class="stringliteral">&quot;.tabs&quot;</span>).add(this.panels).each(<span class="keyword">function</span>(){a.data(<span class="keyword">this</span>,<span class="stringliteral">&quot;destroy.tabs&quot;</span>)?a(<span class="keyword">this</span>).remove():a(<span class="keyword">this</span>).removeClass([<span class="stringliteral">&quot;ui-state-default&quot;</span>,<span class="stringliteral">&quot;ui-corner-top&quot;</span>,<span class="stringliteral">&quot;ui-tabs-selected&quot;</span>,<span class="stringliteral">&quot;ui-state-active&quot;</span>,<span class="stringliteral">&quot;ui-state-hover&quot;</span>,<span class="stringliteral">&quot;ui-state-focus&quot;</span>,<span class="stringliteral">&quot;ui-state-disabled&quot;</span>,<span class="stringliteral">&quot;ui-tabs-panel&quot;</span>,<span class="stringliteral">&quot;ui-widget-content&quot;</span>,<span class="stringliteral">&quot;ui-corner-bottom&quot;</span>,<span class="stringliteral">&quot;ui-tabs-hide&quot;</span>].join(<span class="stringliteral">&quot; &quot;</span>))}),b.cookie&amp;&amp;<span class="keyword">this</span>._cookie(null,b.cookie),<span class="keyword">this</span>},add:<span class="keyword">function</span>(c,d,e){e===b&amp;&amp;(e=this.anchors.length);var f=<span class="keyword">this</span>,g=this.options,h=a(g.tabTemplate.replace(/#\{href\}/g,c).replace(/#\{label\}/g,d)),i=c.indexOf(<span class="stringliteral">&quot;#&quot;</span>)?this._tabId(a(<span class="stringliteral">&quot;a&quot;</span>,h)[0]):c.replace(<span class="stringliteral">&quot;#&quot;</span>,<span class="stringliteral">&quot;&quot;</span>);h.addClass(<span class="stringliteral">&quot;ui-state-default ui-corner-top&quot;</span>).data(<span class="stringliteral">&quot;destroy.tabs&quot;</span>,!0);var j=f.element.find(<span class="stringliteral">&quot;#&quot;</span>+i);<span class="keywordflow">return</span> j.length||(j=a(g.panelTemplate).attr(<span class="stringliteral">&quot;id&quot;</span>,i).data(<span class="stringliteral">&quot;destroy.tabs&quot;</span>,!0)),j.addClass(<span class="stringliteral">&quot;ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide&quot;</span>),e&gt;=this.lis.length?(h.appendTo(this.list),j.appendTo(this.list[0].parentNode)):(h.insertBefore(<span class="keyword">this</span>.lis[e]),j.insertBefore(this.panels[e])),g.disabled=a.map(g.disabled,<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span> a&gt;=e?++a:a}),this._tabify(),this.anchors.length==1&amp;&amp;(g.selected=0,h.addClass(<span class="stringliteral">&quot;ui-tabs-selected ui-state-active&quot;</span>),j.removeClass(<span class="stringliteral">&quot;ui-tabs-hide&quot;</span>),this.element.queue(<span class="stringliteral">&quot;tabs&quot;</span>,<span class="keyword">function</span>(){f._trigger(<span class="stringliteral">&quot;show&quot;</span>,null,f._ui(f.anchors[0],f.panels[0]))}),this.load(0)),this._trigger(<span class="stringliteral">&quot;add&quot;</span>,null,this._ui(this.anchors[e],this.panels[e])),<span class="keyword">this</span>},<span class="keyword">remove</span>:<span class="keyword">function</span>(b){b=this._getIndex(b);var c=this.options,d=this.lis.eq(b).remove(),e=this.panels.eq(b).remove();<span class="keywordflow">return</span> d.hasClass(<span class="stringliteral">&quot;ui-tabs-selected&quot;</span>)&amp;&amp;this.anchors.length&gt;1&amp;&amp;this.select(b+(b+1&lt;this.anchors.length?1:-1)),c.disabled=a.map(a.grep(c.disabled,<span class="keyword">function</span>(a,c){<span class="keywordflow">return</span> a!=b}),<span class="keyword">function</span>(a,c){<span class="keywordflow">return</span> a&gt;=b?--a:a}),this._tabify(),this._trigger(<span class="stringliteral">&quot;remove&quot;</span>,null,this._ui(d.find(<span class="stringliteral">&quot;a&quot;</span>)[0],e[0])),<span class="keyword">this</span>},enable:<span class="keyword">function</span>(b){b=this._getIndex(b);var c=this.options;<span class="keywordflow">if</span>(a.inArray(b,c.disabled)==-1)<span class="keywordflow">return</span>;<span class="keywordflow">return</span> this.lis.eq(b).removeClass(<span class="stringliteral">&quot;ui-state-disabled&quot;</span>),c.disabled=a.grep(c.disabled,<span class="keyword">function</span>(a,c){<span class="keywordflow">return</span> a!=b}),this._trigger(<span class="stringliteral">&quot;enable&quot;</span>,null,this._ui(this.anchors[b],this.panels[b])),<span class="keyword">this</span>},disable:<span class="keyword">function</span>(a){a=this._getIndex(a);var b=<span class="keyword">this</span>,c=this.options;<span class="keywordflow">return</span> a!=c.selected&amp;&amp;(this.lis.eq(a).addClass(<span class="stringliteral">&quot;ui-state-disabled&quot;</span>),c.disabled.push(a),c.disabled.sort(),this._trigger(<span class="stringliteral">&quot;disable&quot;</span>,null,this._ui(this.anchors[a],this.panels[a]))),<span class="keyword">this</span>},select:<span class="keyword">function</span>(a){a=this._getIndex(a);<span class="keywordflow">if</span>(a==-1)<span class="keywordflow">if</span>(this.options.collapsible&amp;&amp;<span class="keyword">this</span>.options.selected!=-1)a=this.options.selected;<span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">this</span>;<span class="keywordflow">return</span> this.anchors.eq(a).trigger(this.options.event+<span class="stringliteral">&quot;.tabs&quot;</span>),<span class="keyword">this</span>},load:<span class="keyword">function</span>(b){b=this._getIndex(b);var c=<span class="keyword">this</span>,d=this.options,e=this.anchors.eq(b)[0],f=a.data(e,<span class="stringliteral">&quot;load.tabs&quot;</span>);this.abort();<span class="keywordflow">if</span>(!f||this.element.queue(<span class="stringliteral">&quot;tabs&quot;</span>).length!==0&amp;&amp;a.data(e,<span class="stringliteral">&quot;cache.tabs&quot;</span>)){this.element.dequeue(<span class="stringliteral">&quot;tabs&quot;</span>);<span class="keywordflow">return</span>}this.lis.eq(b).addClass(<span class="stringliteral">&quot;ui-state-processing&quot;</span>);<span class="keywordflow">if</span>(d.spinner){var g=a(<span class="stringliteral">&quot;span&quot;</span>,e);g.data(<span class="stringliteral">&quot;label.tabs&quot;</span>,g.html()).html(d.spinner)}<span class="keywordflow">return</span> this.xhr=a.ajax(a.extend({},d.ajaxOptions,{url:f,success:<span class="keyword">function</span>(f,g){c.element.find(c._sanitizeSelector(e.hash)).html(f),c._cleanup(),d.cache&amp;&amp;a.data(e,<span class="stringliteral">&quot;cache.tabs&quot;</span>,!0),c._trigger(<span class="stringliteral">&quot;load&quot;</span>,null,c._ui(c.anchors[b],c.panels[b]));<span class="keywordflow">try</span>{d.ajaxOptions.success(f,g)}<span class="keywordflow">catch</span>(h){}},error:<span class="keyword">function</span>(a,f,g){c._cleanup(),c._trigger(<span class="stringliteral">&quot;load&quot;</span>,null,c._ui(c.anchors[b],c.panels[b]));<span class="keywordflow">try</span>{d.ajaxOptions.error(a,f,b,e)}<span class="keywordflow">catch</span>(g){}}})),c.element.dequeue(<span class="stringliteral">&quot;tabs&quot;</span>),<span class="keyword">this</span>},abort:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.element.queue([]),this.panels.stop(!1,!0),this.element.queue(<span class="stringliteral">&quot;tabs&quot;</span>,this.element.queue(<span class="stringliteral">&quot;tabs&quot;</span>).splice(-2,2)),this.xhr&amp;&amp;(this.xhr.abort(),<span class="keyword">delete</span> this.xhr),this._cleanup(),<span class="keyword">this</span>},url:<span class="keyword">function</span>(a,b){<span class="keywordflow">return</span> this.anchors.eq(a).removeData(<span class="stringliteral">&quot;cache.tabs&quot;</span>).data(<span class="stringliteral">&quot;load.tabs&quot;</span>,b),<span class="keyword">this</span>},length:<span class="keyword">function</span>(){<span class="keywordflow">return</span> this.anchors.length}}),a.extend(a.ui.tabs,{version:<span class="stringliteral">&quot;1.8.20&quot;</span>}),a.extend(a.ui.tabs.prototype,{rotation:null,rotate:<span class="keyword">function</span>(a,b){var c=<span class="keyword">this</span>,d=<span class="keyword">this</span>.options,e=c._rotate||(c._rotate=<span class="keyword">function</span>(b){clearTimeout(c.rotation),c.rotation=setTimeout(<span class="keyword">function</span>(){var a=d.selected;c.select(++a&lt;c.anchors.length?a:0)},a),b&amp;&amp;b.stopPropagation()}),f=c._unrotate||(c._unrotate=b?<span class="keyword">function</span>(a){e()}:<span class="keyword">function</span>(a){a.clientX&amp;&amp;c.rotate(null)});<span class="keywordflow">return</span> a?(this.element.bind(<span class="stringliteral">&quot;tabsshow&quot;</span>,e),this.anchors.bind(d.event+<span class="stringliteral">&quot;.tabs&quot;</span>,f),e()):(clearTimeout(c.rotation),this.element.unbind(<span class="stringliteral">&quot;tabsshow&quot;</span>,e),this.anchors.unbind(d.event+<span class="stringliteral">&quot;.tabs&quot;</span>,f),<span class="keyword">delete</span> this._rotate,<span class="keyword">delete</span> this._unrotate),<span class="keyword">this</span>}})}(jQuery);</div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Erzeugt am Don Dez 12 2013 10:15:59 für Homework Hub von &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
